Fix CA1851
This commit is contained in:
@@ -715,10 +715,11 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
|
||||
var players = replay.GameInfo.Players
|
||||
.GroupBy(p => p.Team)
|
||||
.OrderBy(g => g.Key);
|
||||
.OrderBy(g => g.Key)
|
||||
.ToList();
|
||||
|
||||
var teams = new Dictionary<string, IEnumerable<GameInformation.Player>>();
|
||||
var noTeams = players.Count() == 1;
|
||||
var noTeams = players.Count == 1;
|
||||
foreach (var p in players)
|
||||
{
|
||||
var label = noTeams ? TranslationProvider.GetString(Players) : p.Key > 0
|
||||
|
||||
Reference in New Issue
Block a user