Don't save scripts when exiting editor
This commit is contained in:
parent
9c960a8c24
commit
97bd6c0539
1 changed files with 3 additions and 1 deletions
|
@ -4058,8 +4058,10 @@ void ScriptEditorPlugin::selected_notify() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScriptEditorPlugin::save_external_data() {
|
void ScriptEditorPlugin::save_external_data() {
|
||||||
|
if (!EditorNode::get_singleton()->is_exiting()) {
|
||||||
script_editor->save_all_scripts();
|
script_editor->save_all_scripts();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void ScriptEditorPlugin::apply_changes() {
|
void ScriptEditorPlugin::apply_changes() {
|
||||||
script_editor->apply_scripts();
|
script_editor->apply_scripts();
|
||||||
|
|
Loading…
Reference in a new issue