Przeglądaj źródła

Update scripts exports even when normal script instances are created to better support tool scripts with exported variables.

Sebastian Hartte 6 lat temu
rodzic
commit
f8a6a6c8a2
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      modules/mono/csharp_script.cpp

+ 1 - 0
modules/mono/csharp_script.cpp

@@ -2699,6 +2699,7 @@ Error CSharpScript::reload(bool p_keep_state) {
 			}
 
 			load_script_signals(script_class, native);
+			_update_exports();
 		}
 
 		return OK;