From 6f17d6c1d458275e8744d57a7f433cc3eb5434d7 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 6 Nov 2024 12:27:51 +0100 Subject: next commit --- Stages/Wintermaul/HUD.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stages/Wintermaul/HUD.gd') 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()] -- cgit v1.2.3