Update scripts exports even when normal script instances are created to better support tool scripts with exported variables.
This commit is contained in:
1 parent
6976181638
commit
f8a6a6c8a2
1 file changed
+1
@@ -2699,6 +2699,7 @@ Error CSharpScript::reload(bool p_keep_state) {
|
||||
}
|
||||
|
||||
load_script_signals(script_class, native);
|
||||
_update_exports();
|
||||
}
|
||||
|
||||
return OK;
|
||||
|
||||
Reference in new issue
Block a user