|
@@ -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() {
|