Fix enemy not idling
This commit is contained in:
parent
e8907f91b2
commit
582a39992c
|
@ -11,7 +11,7 @@ func tick(actor: Node, blackboard: Blackboard):
|
|||
actor.move_to(destination)
|
||||
|
||||
if actor.position == destination:
|
||||
actor.next_destination == null
|
||||
actor.next_destination = null
|
||||
return SUCCESS
|
||||
return RUNNING
|
||||
|
||||
|
|
Loading…
Reference in a new issue