From 24a8f1b156ea92e7b0ad60052521e1430a77e13f Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 30 Dec 2024 11:41:09 +0100 Subject: fix drop through wall bug --- player/opponent.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/opponent.gd') diff --git a/player/opponent.gd b/player/opponent.gd index 7fc2ebf..de967fe 100644 --- a/player/opponent.gd +++ b/player/opponent.gd @@ -51,7 +51,7 @@ func _on_vertical_timer_timeout() -> void: if randi_range(0, 100) > 75 and is_below_ledge(): await jump() - elif randi_range(0, 100) > 50 and not is_on_bottom_floor(): + elif randi_range(0, 100) > 50 and not is_on_solid_floor(): await fall() $VerticalTimer.start() -- cgit v1.2.3