From 84415d5acaf9ea7aba491ba91e9aed75038ba5c6 Mon Sep 17 00:00:00 2001 From: Michael Campbell Date: Wed, 18 Feb 2026 19:00:03 -0500 Subject: [PATCH] must be holding wasd to dash --- player/player.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/player.gd b/player/player.gd index 79fb3f2..f66f6ce 100644 --- a/player/player.gd +++ b/player/player.gd @@ -44,7 +44,7 @@ func _process_movement() -> void: velocity = Vector3(input.x, 0., input.y) * MOVE_SPEED move_and_slide() - if Input.is_action_just_pressed("dash") and stamina >= 1.: + if Input.is_action_just_pressed("dash") and stamina >= 1. and not input.is_zero_approx(): stamina = 0. dash_direction = input state = State.DASHING