Fix GDExtension template compilation error

This commit is contained in:
Serhii Snitsaruk 2024-02-03 17:59:21 +01:00
parent f60fa3a7f2
commit 3ce199f628
1 changed files with 3 additions and 1 deletions

View File

@ -128,8 +128,10 @@ static LimboUtility *_limbo_utility = nullptr;
void initialize_limboai_module(ModuleInitializationLevel p_level) {
if (p_level == MODULE_INITIALIZATION_LEVEL_SCENE) {
GDREGISTER_CLASS(BehaviorTreeData);
#ifdef TOOLS_ENABLED
GDREGISTER_CLASS(BehaviorTreeView);
#endif // TOOLS_ENABLED
GDREGISTER_CLASS(BehaviorTreeData);
#ifdef LIMBOAI_GDEXTENSION
GDREGISTER_CLASS(LimboDebugger);
#endif