Przeglądaj źródła

Save project after opening

(cherry picked from commit 76240515d8a4def96eb1a409259ce70fa653ae73)
kobewi 4 lat temu
rodzic
commit
645842e0e8
1 zmienionych plików z 3 dodań i 0 usunięć
  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;