summaryrefslogtreecommitdiffstats
path: root/src/godot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/godot.cpp')
-rw-r--r--src/godot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/godot.cpp b/src/godot.cpp
index 7fc8afa..7579cfd 100644
--- a/src/godot.cpp
+++ b/src/godot.cpp
@@ -30,7 +30,7 @@
#include <godot_cpp/godot.hpp>
-#include <godot_cpp/classes/editor_plugin.hpp>
+#include <godot_cpp/classes/editor_plugin_registration.hpp>
#include <godot_cpp/classes/wrapped.hpp>
#include <godot_cpp/core/class_db.hpp>
#include <godot_cpp/core/memory.hpp>
@@ -418,7 +418,7 @@ GDExtensionBool GDExtensionBinding::init(GDExtensionInterfaceGetProcAddress p_ge
ERR_FAIL_NULL_V_MSG(init_callback, false, "Initialization callback must be defined.");
Variant::init_bindings();
- register_engine_classes();
+ godot::internal::register_engine_classes();
return true;
}