summaryrefslogtreecommitdiff
path: root/player/opponent.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-12-30 11:41:09 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-12-30 11:41:14 +0100
commit24a8f1b156ea92e7b0ad60052521e1430a77e13f (patch)
treee2e21d5015e8003e6ba40dc85a19bc9d523e249f /player/opponent.gd
parent474ef692613f298ab05bbb65ad85625f178b63cc (diff)
fix drop through wall bugHEADmain
Diffstat (limited to 'player/opponent.gd')
-rw-r--r--player/opponent.gd2
1 files changed, 1 insertions, 1 deletions
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()