Ver Fonte

[GDNative] remove spam at editor unfocus when using NativeScript

thomas.herzog há 6 anos atrás
pai
commit
0e5b2b16ed
1 ficheiros alterados com 1 adições e 1 exclusões
  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;
 				}