From 9e0203a58a5d242e6c4c40576dbaff02721aa914 Mon Sep 17 00:00:00 2001 From: kobewi Date: Thu, 8 May 2025 17:29:15 +0200 Subject: [PATCH] Don't synchronize scripts with errors --- editor/plugins/script_editor_plugin.cpp | 11 +++++++++++ modules/gdscript/gdscript_editor.cpp | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 1963877703d..f0566cf5918 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1099,6 +1099,17 @@ void ScriptEditor::_mark_built_in_scripts_as_saved(const String &p_parent_path) void ScriptEditor::trigger_live_script_reload(const String &p_script_path) { if (!script_paths_to_reload.has(p_script_path)) { + Ref