diff --git a/bt/bt_player.h b/bt/bt_player.h index 636e73f..8268ea2 100644 --- a/bt/bt_player.h +++ b/bt/bt_player.h @@ -8,7 +8,6 @@ #include "core/object.h" #include "modules/limboai/blackboard.h" #include "scene/main/node.h" -#include class BTPlayer : public Node { GDCLASS(BTPlayer, Node); diff --git a/bt/composites/bt_dynamic_selector.h b/bt/composites/bt_dynamic_selector.h index 65b251a..1375929 100644 --- a/bt/composites/bt_dynamic_selector.h +++ b/bt/composites/bt_dynamic_selector.h @@ -3,7 +3,7 @@ #ifndef BT_DYNAMIC_SELECTOR_H #define BT_DYNAMIC_SELECTOR_H -#import "bt_composite.h" +#include "bt_composite.h" #include "core/object.h" class BTDynamicSelector : public BTComposite { diff --git a/bt/composites/bt_dynamic_sequence.h b/bt/composites/bt_dynamic_sequence.h index 7ff2c64..a1a627d 100644 --- a/bt/composites/bt_dynamic_sequence.h +++ b/bt/composites/bt_dynamic_sequence.h @@ -3,7 +3,7 @@ #ifndef BT_DYNAMIC_SEQUENCE_H #define BT_DYNAMIC_SEQUENCE_H -#import "bt_composite.h" +#include "bt_composite.h" #include "core/object.h" class BTDynamicSequence : public BTComposite { diff --git a/bt/composites/bt_sequence.h b/bt/composites/bt_sequence.h index f0f9ad0..a1556de 100644 --- a/bt/composites/bt_sequence.h +++ b/bt/composites/bt_sequence.h @@ -3,7 +3,7 @@ #ifndef BT_SEQUENCE_H #define BT_SEQUENCE_H -#import "bt_composite.h" +#include "bt_composite.h" #include "core/object.h" class BTSequence : public BTComposite { diff --git a/register_types.cpp b/register_types.cpp index cfb5f7b..6909dd1 100644 --- a/register_types.cpp +++ b/register_types.cpp @@ -97,9 +97,9 @@ void register_limboai_types() { _limbo_utility = memnew(LimboUtility); ClassDB::register_class(); - Engine::get_singleton()->add_singleton(Engine::Singleton("LimboUtility", LimboUtility::get_singleton())); #ifdef TOOLS_ENABLED + Engine::get_singleton()->add_singleton(Engine::Singleton("LimboUtility", LimboUtility::get_singleton())); EditorPlugins::add_by_type(); #endif