Server Setting Changes

- tribe alliance checkbox fixed.
- custom harvest multiplier checkbox fixed.
This commit is contained in:
Brett Hewitson 2022-07-08 17:33:44 +10:00
parent 2391ab61d8
commit 3e25077cc7
5 changed files with 47 additions and 5 deletions

View file

@ -48,11 +48,12 @@ namespace ServerManagerTool.Common.Model
this.Sort(AggregateIniValue.SortKeySelector);
}
public void Reset()
public virtual void Reset()
{
this.Clear();
if (this._resetFunc != null)
this.AddRange(this._resetFunc());
IsEnabled = (Count > 0);
this.Sort(AggregateIniValue.SortKeySelector);
}