From 5e354162f17aa53a09e7f44e1a2948621fb6d61c Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Wed, 13 Mar 2019 16:26:44 +0100 Subject: [PATCH] C#: Update exports only in the editor --- modules/mono/csharp_script.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 04405e0c1d5..e33b238f459 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -1933,6 +1933,9 @@ void CSharpScript::_update_exports_values(Map &values, List bool CSharpScript::_update_exports() { #ifdef TOOLS_ENABLED + if (!Engine::get_singleton()->is_editor_hint()) + return false; + placeholder_fallback_enabled = true; // until proven otherwise if (!valid)