There was an error while loading. Please reload this page.
1 parent 8f37eee commit f249af7Copy full SHA for f249af7
Assets/Scripts/Tools/DataHandler.cs
@@ -193,6 +193,8 @@ public static GameData SerializeGameData()
193
Application.persistentDataPath,
194
BinarySerializable.DATA_DIRECTORY,
195
"Games");
196
+ if (!Directory.Exists(rootPath))
197
+ return;
198
string[] gameDirs = Directory.GetDirectories(rootPath);
199
200
// filter to keep only game folders with a game save
0 commit comments