fix: IsOut stat wasn't reset when the round ended
This commit is contained in:
parent
ad8e7466ef
commit
8659456fae
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user