summaryrefslogtreecommitdiff
path: root/Stages/Wintermaul/HUD.gd
diff options
context:
space:
mode:
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()]