summaryrefslogtreecommitdiffstats
path: root/modules/gdnative/register_types.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdnative/register_types.cpp')
-rw-r--r--modules/gdnative/register_types.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gdnative/register_types.cpp b/modules/gdnative/register_types.cpp
index 8e5f58524b..d2a3e29849 100644
--- a/modules/gdnative/register_types.cpp
+++ b/modules/gdnative/register_types.cpp
@@ -37,6 +37,7 @@
#include "nativearvr/register_types.h"
#include "nativescript/register_types.h"
+#include "pluginscript/register_types.h"
#include "core/engine.h"
#include "core/os/os.h"
@@ -158,6 +159,7 @@ void register_gdnative_types() {
register_nativearvr_types();
register_nativescript_types();
+ register_pluginscript_types();
// run singletons
@@ -207,8 +209,9 @@ void unregister_gdnative_types() {
}
singleton_gdnatives.clear();
- unregister_nativearvr_types();
+ unregister_pluginscript_types();
unregister_nativescript_types();
+ unregister_nativearvr_types();
memdelete(GDNativeCallRegistry::singleton);