diff --git a/Torch.Server/TorchConfig.cs b/Torch.Server/TorchConfig.cs index 375441b..669f145 100644 --- a/Torch.Server/TorchConfig.cs +++ b/Torch.Server/TorchConfig.cs @@ -24,11 +24,11 @@ namespace Torch.Server public string InstancePath { get; set; } /// - [JsonIgnore, Arg("noupdate", "Disable automatically downloading game and plugin updates.")] + [XmlIgnore, Arg("noupdate", "Disable automatically downloading game and plugin updates.")] public bool NoUpdate { get; set; } /// - [JsonIgnore, Arg("forceupdate", "Manually check for and install updates.")] + [XmlIgnore, Arg("forceupdate", "Manually check for and install updates.")] public bool ForceUpdate { get; set; } /// @@ -44,7 +44,7 @@ namespace Torch.Server public bool NoGui { get; set; } /// - [JsonIgnore, Arg("waitforpid", "Makes Torch wait for another process to exit.")] + [XmlIgnore, Arg("waitforpid", "Makes Torch wait for another process to exit.")] public string WaitForPID { get; set; } /// @@ -61,7 +61,7 @@ namespace Torch.Server internal Point WindowSize { get; set; } = new Point(800, 600); internal Point WindowPosition { get; set; } = new Point(); - [JsonIgnore] + [XmlIgnore] private string _path; public TorchConfig() : this("Torch") { }