diff options
| author | Indah Sylvia | 2017-08-07 17:17:31 +0700 |
|---|---|---|
| committer | Indah Sylvia | 2017-08-07 18:24:35 +0700 |
| commit | 5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2 (patch) | |
| tree | 3f0dcef53a38d356a40fd7adce40387f21904a18 /modules/nativescript/nativescript.cpp | |
| parent | 7e4970214c92fec0e7262f36765764a81e28b2be (diff) | |
| download | godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.tar.gz godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.tar.zst godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.zip | |
Diffstat (limited to 'modules/nativescript/nativescript.cpp')
| -rw-r--r-- | modules/nativescript/nativescript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nativescript/nativescript.cpp b/modules/nativescript/nativescript.cpp index fb334e573..f00917bce 100644 --- a/modules/nativescript/nativescript.cpp +++ b/modules/nativescript/nativescript.cpp @@ -113,7 +113,7 @@ void NativeScript::set_library(Ref<GDNativeLibrary> p_library) { lib_path = library->get_active_library_path(); #ifndef NO_THREADS - if (Thread::get_caller_ID() != Thread::get_main_ID()) { + if (Thread::get_caller_id() != Thread::get_main_id()) { NSL->defer_init_library(p_library, this); } else #endif |
