safe return
This commit is contained in:
parent
2a865423dc
commit
5b41872c0f
1 changed files with 2 additions and 2 deletions
|
|
@ -12,5 +12,5 @@ func _enter(_previous_state_path: String, _data: Dictionary[StringName, Variant]
|
|||
func _state_physics_update(_delta: float) -> void:
|
||||
next_state = player.match_state([IDLE])
|
||||
if next_state != "":
|
||||
print(next_state)
|
||||
#finished.emit(next_state)
|
||||
finished.emit(next_state)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue