Fix enemy not idling

This commit is contained in:
Mathilde Grapin 2023-07-01 18:56:45 +02:00
parent e8907f91b2
commit 582a39992c

View file

@ -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