Fixed the issue where the Dino Tame settings would be reset when opening the server manager.

This commit is contained in:
Brett Hewitson 2022-03-22 12:54:46 +10:00
parent c663883c30
commit 412c24df8f
3 changed files with 32 additions and 10 deletions

View file

@ -121,7 +121,7 @@ namespace ServerManagerTool.Lib.ViewModel
{
if (this.Any(d => d.ClassName == entry))
{
foreach (var dinoSetting in this.Where(d => d.ClassName == entry && !d.CanTame))
foreach (var dinoSetting in this.Where(d => d.ClassName == entry && d.CanTame))
{
dinoSetting.CanTame = false;
}