You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
NativeScript: Fix initialization in wrong scope
Regression fromd702d7b335which broke javascript build. (cherry picked from commit08cadc3d87)
This commit is contained in:
@@ -853,8 +853,8 @@ void NativeScriptLanguage::_unload_stuff(bool p_reload) {
|
||||
|
||||
NativeScriptLanguage::NativeScriptLanguage() {
|
||||
NativeScriptLanguage::singleton = this;
|
||||
has_objects_to_register = false;
|
||||
#ifndef NO_THREADS
|
||||
has_objects_to_register = false;
|
||||
mutex = Mutex::create();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user