Преглед изворни кода

[GDNative] remove spam at editor unfocus when using NativeScript

(cherry picked from commit 0e5b2b16ede012ffc1bddb5e6e3770234eda6032)
thomas.herzog пре 6 година
родитељ
комит
cf8bd34941
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      modules/gdnative/nativescript/nativescript.cpp

+ 1 - 1
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;
 				}