From f8a6a6c8a2eb704de9879727f9b975b6de7cfd19 Mon Sep 17 00:00:00 2001 From: Sebastian Hartte Date: Thu, 7 Mar 2019 15:23:29 +0100 Subject: [PATCH] Update scripts exports even when normal script instances are created to better support tool scripts with exported variables. --- modules/mono/csharp_script.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 47be3a99595..9bede87f6b8 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;