diff --git a/OpenRa.Game/Chrome.cs b/OpenRa.Game/Chrome.cs index 61d0fe44bf..018cc82eef 100644 --- a/OpenRa.Game/Chrome.cs +++ b/OpenRa.Game/Chrome.cs @@ -344,10 +344,9 @@ namespace OpenRa AddButton(r, _ => { }); } - - bool PaletteAvailable(int index) { return Game.LobbyInfo.Clients.All(c => c.PaletteIndex != index); } - bool SpawnPointAvailable(int index) { return Game.LobbyInfo.Clients.All(c => c.SpawnPoint != index); } - + bool PaletteAvailable(int index) { return Game.LobbyInfo.Clients.All(c => c.PaletteIndex != index); } + bool SpawnPointAvailable(int index) { return (index == 0) || Game.LobbyInfo.Clients.All(c => c.SpawnPoint != index); } + void CyclePalette(bool left) { var d = left ? +1 : Player.PlayerColors.Count() - 1;