fix: IsOut stat wasn't reset when the round ended

This commit is contained in:
Jakob Feldmann 2024-04-19 21:27:58 +02:00
parent ad8e7466ef
commit 8659456fae

View File

@ -99,6 +99,13 @@ namespace GameLogic
p1.Value.RoundsWon > p2.Value.RoundsWon ? p1 : p2).Key;
Opponents = mps.Keys.Where(player => player != Winner).ToList();
}
else
{
foreach (var statistic in mps.Values)
{
statistic.IsOut = false;
}
}
}
}
}