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