You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
C#: Update exports only in the editor
(cherry picked from commit 5e354162f1)
This commit is contained in:
committed by
Rémi Verschelde
parent
51e04c588b
commit
57f19fd8ee
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user