Skip to content

Commit

Permalink
Fix PlayersInPodCount
Browse files Browse the repository at this point in the history
  • Loading branch information
Beyley committed Sep 21, 2024
1 parent 7d1cf38 commit 04d8e47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public RoomStatistics GetStatistics()
return new RoomStatistics
{
PlayerCount = (ushort)this._rooms.Sum(r => r.PlayerIds.Count),
PlayersInPodCount = (ushort)this._rooms.Count(r => r.LevelType == RoomSlotType.Pod),
PlayersInPodCount = (ushort)this._rooms.Where(r => r.LevelType == RoomSlotType.Pod).Sum(r => r.PlayerIds.Count),
RoomCount = (ushort)this._rooms.Count,
PerGame = perGame,
PerPlatform = perPlatform,
Expand Down

0 comments on commit 04d8e47

Please sign in to comment.