Browse Source

Save project after opening

(cherry picked from commit 76240515d8a4def96eb1a409259ce70fa653ae73)
kobewi 4 years ago
parent
commit
476bc5191b
1 changed files with 3 additions and 0 deletions
  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();
 			_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 */
 			/* DO NOT LOAD SCENES HERE, WAIT FOR FILE SCANNING AND REIMPORT TO COMPLETE */
 		} break;
 		} break;