Skip to content

Commit

Permalink
fix /envpreset save no longer working if there was a general error re…
Browse files Browse the repository at this point in the history
…ading envpresets.txt
  • Loading branch information
UnknownShadow200 committed Dec 27, 2018
1 parent bbd3fe0 commit 3411545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fCraft/World/EnvPresets.cs
Expand Up @@ -164,7 +164,7 @@ public sealed class EnvPresets {
}
Logger.Log(LogType.SystemActivity, "EnvPresets.Load: Loaded " + count + " presets");
} catch (Exception ex) {
Presets = null;
Presets = new List<EnvPresets>();
Logger.Log(LogType.Error, "EnvPresets.Load: " + ex);
}
}
Expand Down

0 comments on commit 3411545

Please sign in to comment.