mirror of
https://github.com/godotengine/godot.git
synced 2025-04-07 00:44:24 +08:00
Merge pull request #73641 from KoBeWi/yolo_exiting
Don't save scripts when exiting editor
This commit is contained in:
commit
bf73ac2891
@ -4263,7 +4263,9 @@ String ScriptEditorPlugin::get_unsaved_status(const String &p_for_scene) const {
|
||||
}
|
||||
|
||||
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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user