From bec8fe0a1338f25413ad113c07708c733d1bb9b0 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Thu, 17 Apr 2025 23:05:26 -0400 Subject: [PATCH] Note from ORBLISH on idea for hover sounds. --- guecs.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/guecs.cpp b/guecs.cpp index c1dade4..360fe6b 100644 --- a/guecs.cpp +++ b/guecs.cpp @@ -238,6 +238,7 @@ namespace guecs { }); do_if(ent, [hover](auto& sound) { + // here set that it played then only play once sound.play(hover); }); @@ -250,6 +251,10 @@ namespace guecs { } action_count++; + } else { + // via ORBLISHJ + // just reset the hover trigger for all that aren't hit + // then in the ^^ positive branch play it and set it played } });