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

This commit is contained in:
Sebastian Hartte 2019-03-07 15:23:29 +01:00
parent 6976181638
commit f8a6a6c8a2

View File

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