Embarresing typo

This commit is contained in:
Rakarake 2024-11-19 00:58:54 +01:00
parent d676ae3cd7
commit 4743433016

View file

@ -211,7 +211,7 @@ func _physics_process(delta):
current_state().direction = get_dir().x
# Do dash
if current_state() in [run, air] && Input.is_action_just_pressed("dash") && !dash_used \
&& double_jump_enabled:
&& dash_enabled:
dash_used = true
dash_time_tmp = dash_time
var dir := get_dir()