1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-03 19:11:41 +00:00

Don't save scripts when exiting editor

This commit is contained in:
kobewi
2023-02-20 19:29:20 +01:00
parent 9c960a8c24
commit 97bd6c0539

View File

@@ -4058,7 +4058,9 @@ void ScriptEditorPlugin::selected_notify() {
}
void ScriptEditorPlugin::save_external_data() {
script_editor->save_all_scripts();
if (!EditorNode::get_singleton()->is_exiting()) {
script_editor->save_all_scripts();
}
}
void ScriptEditorPlugin::apply_changes() {