From 65bfe9c4c3e09c0d9f5058dd899a82c6a47ec15d Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 31 Mar 2025 14:34:21 +0200 Subject: next commit --- stage/hud_unit.gd | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stage/hud_unit.gd') diff --git a/stage/hud_unit.gd b/stage/hud_unit.gd index 060f0e5..896221e 100644 --- a/stage/hud_unit.gd +++ b/stage/hud_unit.gd @@ -16,6 +16,9 @@ func _ready() -> void: ) grid_selector.selected.connect(func(node: Node2D): + if not node is Unit: + return + grid_selector.process_mode = Node.PROCESS_MODE_DISABLED visible = true -- cgit v1.2.3