summaryrefslogtreecommitdiff
path: root/player/player.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/player.gd
parent474ef692613f298ab05bbb65ad85625f178b63cc (diff)
fix drop through wall bugHEADmain
Diffstat (limited to 'player/player.gd')
-rw-r--r--player/player.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/player.gd b/player/player.gd
index 9d1d6ee..86284ae 100644
--- a/player/player.gd
+++ b/player/player.gd
@@ -27,7 +27,7 @@ func _process(_delta: float) -> void:
if Input.is_action_pressed("ui_up"):
jump()
if Input.is_action_pressed("ui_down"):
- if not is_on_bottom_floor():
+ if not is_on_solid_floor():
fall()
if not is_on_floor():