diff options
author | tpart <tpart120@proton.me> | 2025-09-01 21:45:59 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2025-09-01 21:45:59 +0200 |
commit | 51ea2ec90d8bc286f0025f0d91e1c5fac461e867 (patch) | |
tree | 3aaf942ec3139499255ed94e42f4e65e454ccc5b /client/menu/menu.gd | |
parent | 4884c13260b226a79c199176ae230edf03c6b746 (diff) | |
download | hurrycurry-51ea2ec90d8bc286f0025f0d91e1c5fac461e867.tar hurrycurry-51ea2ec90d8bc286f0025f0d91e1c5fac461e867.tar.bz2 hurrycurry-51ea2ec90d8bc286f0025f0d91e1c5fac461e867.tar.zst |
Fix error messages related to signals
Diffstat (limited to 'client/menu/menu.gd')
-rw-r--r-- | client/menu/menu.gd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/menu/menu.gd b/client/menu/menu.gd index b928118b..7af27148 100644 --- a/client/menu/menu.gd +++ b/client/menu/menu.gd @@ -123,7 +123,8 @@ func connect_button_sounds(node: Node): if not node.is_in_group("no_click_sound"): node.pressed.connect(Sound.play_click) if (node is Button and not node.disabled) or (node is LineEdit and node.editable) or node is Slider: - node.mouse_entered.connect(Sound.play_hover) + if not node.is_in_group("no_click_sound"): + node.mouse_entered.connect(Sound.play_hover) for c in node.get_children(): connect_button_sounds(c) |