diff options
author | tpart <tpart120@proton.me> | 2024-08-19 15:41:53 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-08-19 15:41:53 +0200 |
commit | 70601b430804593826862fbc1aba0f14362ce3c1 (patch) | |
tree | da017e178fbbaf526f4b53471e7c5163a98678a4 /client/audio | |
parent | 30f62d2116be9b8f485204adf72449bcaac8ae5b (diff) | |
download | hurrycurry-70601b430804593826862fbc1aba0f14362ce3c1.tar hurrycurry-70601b430804593826862fbc1aba0f14362ce3c1.tar.bz2 hurrycurry-70601b430804593826862fbc1aba0f14362ce3c1.tar.zst |
Add comment explaining obscure function
Diffstat (limited to 'client/audio')
-rw-r--r-- | client/audio/sound.gd | 2 |
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 |