diff --git a/scripts/enemy/behavior_tree/move_to_destination_action.gd b/scripts/enemy/behavior_tree/move_to_destination_action.gd index 2fa1911..d362af4 100644 --- a/scripts/enemy/behavior_tree/move_to_destination_action.gd +++ b/scripts/enemy/behavior_tree/move_to_destination_action.gd @@ -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