Fix AI attacking Hiro after being defeated
This commit is contained in:
parent
c6f2d65469
commit
1bccb7ed11
|
@ -292,7 +292,7 @@ func _on_victory_state_entered():
|
|||
state_machine.set_expression_property("melee_stage", 0)
|
||||
velocity = Vector2.ZERO
|
||||
|
||||
func _on_player_been_defeated():
|
||||
func _on_player_been_defeated(_by_what: Util.AttackType):
|
||||
state_machine.send_event("has_won")
|
||||
|
||||
func _on_align_for_range_state_entered():
|
||||
|
|
Loading…
Reference in a new issue