aboutsummaryrefslogtreecommitdiff
path: root/modules/gdnative/nativescript/nativescript.cpp
diff options
context:
space:
mode:
authorHein-Pieter van Braam2018-02-28 21:55:13 +0100
committerHein-Pieter van Braam2018-03-01 21:06:31 +0100
commit675899a521422a97835660b5a7b09dad851884d0 (patch)
tree2c5fab30b4387f9070ce04c63b0a720e58b469f5 /modules/gdnative/nativescript/nativescript.cpp
parent61a9ef5d81acad525cb1c98829b6be4e11f8bef0 (diff)
downloadgodot-675899a521422a97835660b5a7b09dad851884d0.tar.gz
godot-675899a521422a97835660b5a7b09dad851884d0.tar.zst
godot-675899a521422a97835660b5a7b09dad851884d0.zip
Diffstat (limited to 'modules/gdnative/nativescript/nativescript.cpp')
-rw-r--r--modules/gdnative/nativescript/nativescript.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/nativescript/nativescript.cpp b/modules/gdnative/nativescript/nativescript.cpp
index aaa7d634d..b5274732a 100644
--- a/modules/gdnative/nativescript/nativescript.cpp
+++ b/modules/gdnative/nativescript/nativescript.cpp
@@ -853,6 +853,7 @@ void NativeScriptLanguage::_unload_stuff(bool p_reload) {
NativeScriptLanguage::NativeScriptLanguage() {
NativeScriptLanguage::singleton = this;
+ has_objects_to_register = false;
#ifndef NO_THREADS
mutex = Mutex::create();
#endif