Embarresing typo
This commit is contained in:
parent
d676ae3cd7
commit
4743433016
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue