diff --git a/MSCLoader/MSCLoader/ModSave.cs b/MSCLoader/MSCLoader/ModSave.cs index 23640eb..4409c85 100644 --- a/MSCLoader/MSCLoader/ModSave.cs +++ b/MSCLoader/MSCLoader/ModSave.cs @@ -80,6 +80,8 @@ public static T Load(string fileName, string encryptionKey = "") where T : cl { string path = Path.Combine(Application.persistentDataPath, $"{fileName}.xml"); + if (!File.Exists(path)) return new T(); + StreamReader input = new StreamReader(path); MemoryStream memoryInput = null;