Publictest (#335)
* Fix compiler errors * Fix Jenkins * Build public test as Release * Fix more things * Oops * Remove obsolete code * Fix GameStatePatchShim
This commit is contained in:
@@ -198,16 +198,6 @@ namespace Torch.Server.Managers
|
||||
|
||||
public void SaveConfig()
|
||||
{
|
||||
var cf = Torch.Config as TorchConfig;
|
||||
if (cf?.ReservedPlayers?.Count > 0)
|
||||
{
|
||||
foreach (var res in cf.ReservedPlayers)
|
||||
{
|
||||
if (!DedicatedConfig.Reserved.Contains(res))
|
||||
DedicatedConfig.Reserved.Add(res);
|
||||
}
|
||||
}
|
||||
|
||||
DedicatedConfig.Save(Path.Combine(Torch.Config.InstancePath, CONFIG_NAME));
|
||||
Log.Info("Saved dedicated config.");
|
||||
|
||||
|
Reference in New Issue
Block a user