Skip to content

Commit b0f48ca

Browse files
committed
Fix Push
1 parent 6896c89 commit b0f48ca

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

UOP1_Project/Assets/Scripts/SceneManagement/EditorColdStartup.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ public class EditorColdStartup : MonoBehaviour
1818
[SerializeField] private SaveSystem _saveSystem = default;
1919

2020
private bool isColdStart = false;
21-
22-
[SerializeField] private SaveSystem _saveSystem = default;
2321
private void Awake()
2422
{
2523
if (!SceneManager.GetSceneByName(_persistentManagersSO.sceneReference.editorAsset.name).isLoaded)
@@ -67,12 +65,6 @@ private void OnNotifyChannelLoaded(AsyncOperationHandle<LoadEventChannelSO> obj)
6765
}
6866
}
6967

70-
private void CreateSaveFileIfNotPresent()
71-
{
72-
if (_saveSystem != null && !_saveSystem.LoadSaveDataFromDisk())
73-
{
74-
_saveSystem.WriteEmptySaveFile();
75-
}
76-
}
68+
7769
#endif
7870
}

0 commit comments

Comments
 (0)