This commit is contained in:
Serhii Snitsaruk 2024-09-27 11:40:03 +02:00 committed by GitHub
commit 84035b46c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 3 deletions

View File

@ -172,9 +172,8 @@ void BTTask::initialize(Node *p_agent, const Ref<Blackboard> &p_blackboard, Node
get_child(i)->initialize(p_agent, p_blackboard, p_scene_root); get_child(i)->initialize(p_agent, p_blackboard, p_scene_root);
} }
if (!GDVIRTUAL_CALL(_setup)) {
_setup(); _setup();
} GDVIRTUAL_CALL(_setup);
} }
Ref<BTTask> BTTask::clone() const { Ref<BTTask> BTTask::clone() const {