Jelajahi Sumber

[GDNative] remove spam at editor unfocus when using NativeScript

(cherry picked from commit 0e5b2b16ede012ffc1bddb5e6e3770234eda6032)
thomas.herzog 6 tahun lalu
induk
melakukan
cf8bd34941
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;
 				}