aboutsummaryrefslogtreecommitdiff
path: root/client/audio
diff options
context:
space:
mode:
Diffstat (limited to 'client/audio')
-rw-r--r--client/audio/sound.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/audio/sound.gd b/client/audio/sound.gd
index ea39050a..fbd4fb5d 100644
--- a/client/audio/sound.gd
+++ b/client/audio/sound.gd
@@ -49,6 +49,8 @@ func play_hover():
hover_sound.play()
func play_hover_maybe(element):
+ # Don't play hover sound when focus is changed by clicking using a mouse.
+ # TODO: Clean up this code and find a proper solution.
if element is Button:
if element.is_hovered():
return