summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomas.herzog <thomas.herzog@simedis.com>2019-03-22 11:46:34 +0100
committerthomas.herzog <thomas.herzog@simedis.com>2019-03-22 11:46:34 +0100
commit0e5b2b16ede012ffc1bddb5e6e3770234eda6032 (patch)
tree2128e25efa0b3b6f2590f7f69917d9d4c0a13b56
parent9c3ddf05cb9c59817d885e9daca6e8f61c89dc97 (diff)
[GDNative] remove spam at editor unfocus when using NativeScript
-rw-r--r--modules/gdnative/nativescript/nativescript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/nativescript/nativescript.cpp b/modules/gdnative/nativescript/nativescript.cpp
index 2da9d6bfdc..509d78d4f2 100644
--- a/modules/gdnative/nativescript/nativescript.cpp
+++ b/modules/gdnative/nativescript/nativescript.cpp
@@ -1691,7 +1691,7 @@ void NativeReloadNode::_notification(int p_what) {
// since singleton libraries are not unloaded there is no point
// in loading them again.
- if (!gdn->get_library()->is_singleton()) {
+ if (gdn->get_library()->is_singleton()) {
continue;
}