From cf8bd3494138a9d8795816701ef8ce61f9ac8e57 Mon Sep 17 00:00:00 2001 From: "thomas.herzog" Date: Fri, 22 Mar 2019 11:46:34 +0100 Subject: [PATCH] [GDNative] remove spam at editor unfocus when using NativeScript (cherry picked from commit 0e5b2b16ede012ffc1bddb5e6e3770234eda6032) --- modules/gdnative/nativescript/nativescript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gdnative/nativescript/nativescript.cpp b/modules/gdnative/nativescript/nativescript.cpp index 2da9d6bfdc2..509d78d4f27 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; }