summaryrefslogtreecommitdiff
path: root/Stages/Wintermaul/HUD.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-11-06 12:27:51 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-11-06 12:27:51 +0100
commit6f17d6c1d458275e8744d57a7f433cc3eb5434d7 (patch)
tree588434069b86aa079a0b36c78367dfb14003321e /Stages/Wintermaul/HUD.gd
parentc8f674ac6fa0914d9e448d2929f2385cdad80d60 (diff)
next commit
Diffstat (limited to 'Stages/Wintermaul/HUD.gd')
-rw-r--r--Stages/Wintermaul/HUD.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stages/Wintermaul/HUD.gd b/Stages/Wintermaul/HUD.gd
index 8457ab2..5567f77 100644
--- a/Stages/Wintermaul/HUD.gd
+++ b/Stages/Wintermaul/HUD.gd
@@ -135,7 +135,7 @@ func _input(event: InputEvent):
team_top.visible = not team_top.visible
team_bottom.visible = not team_bottom.visible
- if %MultiSelectionContainer.visible and event.is_action_pressed("selection_cycle"):
+ if event.is_action_pressed("selection_cycle") and %MultiSelectionContainer.visible:
var keys = get_ordered_group_keys()
var current_idx = keys.find(selected_group)
selected_group = keys[(current_idx + 1) % keys.size()]