diff --git a/Util/Config.cs b/Util/Config.cs index 8666a96..fe86ae8 100644 --- a/Util/Config.cs +++ b/Util/Config.cs @@ -81,6 +81,9 @@ namespace EliteBGS.Util { } public void LoadObjectives(Report report) { + if (!File.Exists(objectives_file)) { + return; + } var serializer = JsonSerializer.CreateDefault(); using (var file = new StreamReader(File.OpenRead(objectives_file), Encoding.UTF8)) { var stream = new JsonTextReader(file);