Skip to content

Commit

Permalink
long keys are bad (dotnet/runtime#30524)
Browse files Browse the repository at this point in the history
  • Loading branch information
Trolldemorted committed Jun 3, 2020
1 parent 841f92c commit 6f26635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EnoCore/Models/EnoEngineScoreboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ public class EnoEngineScoreboard

public long CurrentRound { get => Round?.Id ?? 0; }
public List<EnoEngineScoreboardEntry> Teams { get; set; } = new List<EnoEngineScoreboardEntry>();
public Dictionary<long, EnoEngineScoreboardService> Services { get; } = new Dictionary<long, EnoEngineScoreboardService>();
public Dictionary<string, EnoEngineScoreboardService> Services { get; } = new Dictionary<string, EnoEngineScoreboardService>();

public EnoEngineScoreboard(Round round, List<Service> services)
{
Round = round;
foreach (var service in services)
{
Services[service.Id] = new EnoEngineScoreboardService()
Services[service.Id.ToString()] = new EnoEngineScoreboardService()
{
Name = service.Name
};
Expand Down

0 comments on commit 6f26635

Please sign in to comment.