Explorar o código

Save project after opening

(cherry picked from commit 76240515d8a4def96eb1a409259ce70fa653ae73)
kobewi %!s(int64=4) %!d(string=hai) anos
pai
achega
476bc5191b
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      editor/editor_node.cpp

+ 3 - 0
editor/editor_node.cpp

@@ -509,6 +509,9 @@ void EditorNode::_notification(int p_what) {
 
 			_update_debug_options();
 
+			// Save the project after opening to mark it as last modified.
+			ProjectSettings::get_singleton()->save();
+
 			/* DO NOT LOAD SCENES HERE, WAIT FOR FILE SCANNING AND REIMPORT TO COMPLETE */
 		} break;