Code review

This commit is contained in:
JustArchi
2016-04-12 19:12:45 +02:00
parent e9d8f271a2
commit 4a36345635
16 changed files with 68 additions and 24 deletions

View File

@@ -128,7 +128,10 @@ namespace ConfigGenerator {
private BotConfig() { }
private BotConfig(string filePath) : base(filePath) {
FilePath = filePath;
if (string.IsNullOrEmpty(filePath)) {
throw new ArgumentNullException("filePath");
}
GamesPlayedWhileIdle.Add(0);
Save();
}