From 1b3732ea0f761ab405791e275cf4afb0ab7c6ca3 Mon Sep 17 00:00:00 2001 From: Nikolai Fedorov Date: Thu, 23 Apr 2026 11:43:33 +0300 Subject: [PATCH] do not throw stick into player --- scripts/Enemy.gd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/Enemy.gd b/scripts/Enemy.gd index 779825e..7553fa6 100644 --- a/scripts/Enemy.gd +++ b/scripts/Enemy.gd @@ -153,6 +153,8 @@ func _try_enemy_kick() -> void: var k := node as Node3D if k == null or not is_instance_valid(k): continue + if k.get("kickable_type") == "stick": + continue var kfv = k.get("fly_vel") if kfv != null and Vector2((kfv as Vector3).x, (kfv as Vector3).z).length() > 15.0: continue