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/player.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/player.gd') 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(): -- cgit v1.2.3