Add independent console option. Various random fixes

This commit is contained in:
Brant Martin
2019-02-20 20:20:09 -05:00
parent 2bb3aa84a7
commit 967d8ce068
4 changed files with 15 additions and 7 deletions

View File

@@ -72,10 +72,13 @@ namespace Torch.Server
[Obsolete("Use vanilla reserved slot config")]
public HashSet<ulong> ReservedPlayers { get; set; } = new HashSet<ulong>();
//Prevent reserved players being written to disk, but allow it to bre read
//Prevent reserved players being written to disk, but allow it to be read
//remove this when ReservedPlayers is removed
private bool ShouldSerializeReservedPlayers() => false;
[Arg("console", "Keeps a separate console window open after the main UI loads.")]
public bool IndependentConsole { get; set; } = false;
[XmlIgnore]
private string _path;