Add CustomGamePlayedWhileFarming

Also make it possible for CustomGamePlayedWhileIdle and GamesPlayedWhileIdle to coexist
This commit is contained in:
JustArchi
2016-07-12 04:40:56 +02:00
parent 17b00a90e1
commit de013850bc
6 changed files with 26 additions and 34 deletions

View File

@@ -111,6 +111,9 @@ namespace ConfigGenerator {
[JsonProperty(Required = Required.DisallowNull)]
public byte AcceptConfirmationsPeriod { get; set; } = 0;
[JsonProperty]
public string CustomGamePlayedWhileFarming { get; set; } = null;
[JsonProperty]
public string CustomGamePlayedWhileIdle { get; set; } = null;
@@ -153,7 +156,6 @@ namespace ConfigGenerator {
throw new ArgumentNullException(nameof(filePath));
}
GamesPlayedWhileIdle.Add(0);
Save();
}
}