Merge pull request #27014 from neikeq/csharp-update-exports-only-in-editor

C#: Update exports only in the editor
This commit is contained in:
Rémi Verschelde 2019-03-13 20:07:06 +01:00 committed by GitHub
commit 3b5a0f34d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1933,6 +1933,9 @@ void CSharpScript::_update_exports_values(Map<StringName, Variant> &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)