diff --git a/scripts/Player.gd b/scripts/Player.gd index 73e9a38..a1e3d59 100644 --- a/scripts/Player.gd +++ b/scripts/Player.gd @@ -89,7 +89,7 @@ func _physics_process(delta: float) -> void: _handle_movement(delta) _handle_kick(delta) _handle_iframes(delta) - if Input.is_action_just_pressed("ui_accept") and kick_timer <= 0.0: + if Input.is_mouse_button_pressed(MOUSE_BUTTON_LEFT) and kick_timer <= 0.0: _do_kick() func _handle_movement(delta: float) -> void: