diff options
author | Sebastian Hartte <sebastian@hartte.de> | 2019-03-07 15:23:29 +0100 |
---|---|---|
committer | Sebastian Hartte <sebastian@hartte.de> | 2019-03-07 18:52:43 +0100 |
commit | f8a6a6c8a2eb704de9879727f9b975b6de7cfd19 (patch) | |
tree | cc95a89d5f926641f820b6b8f9ccfd44ed2377cd /modules | |
parent | 69761816381f11536980441265345ba055ad1c26 (diff) |
Update scripts exports even when normal script instances are created to better support tool scripts with exported variables.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mono/csharp_script.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 47be3a9959..9bede87f6b 100644 --- a/modules/mono/csharp_script.cpp +++ b/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; |