Remove HSLColor.
This commit is contained in:
@@ -21,7 +21,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
{
|
||||
public class SpawnOccupant
|
||||
{
|
||||
public readonly HSLColor Color;
|
||||
public readonly Color Color;
|
||||
public readonly string PlayerName;
|
||||
public readonly int Team;
|
||||
public readonly string Faction;
|
||||
@@ -182,7 +182,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
TooltipSpawnIndex = -1;
|
||||
if (ShowSpawnPoints)
|
||||
{
|
||||
var colors = SpawnOccupants().ToDictionary(c => c.Key, c => c.Value.Color.RGB);
|
||||
var colors = SpawnOccupants().ToDictionary(c => c.Key, c => c.Value.Color);
|
||||
|
||||
var spawnPoints = preview.SpawnPoints;
|
||||
var gridType = preview.GridType;
|
||||
|
||||
Reference in New Issue
Block a user