diff --git a/OpenRA.Mods.Common/Lint/CheckPlayers.cs b/OpenRA.Mods.Common/Lint/CheckPlayers.cs index c1c093b770..8d6a086125 100644 --- a/OpenRA.Mods.Common/Lint/CheckPlayers.cs +++ b/OpenRA.Mods.Common/Lint/CheckPlayers.cs @@ -47,6 +47,9 @@ namespace OpenRA.Mods.Common.Lint if (multiPlayers > spawnCount) emitError("The map allows {0} possible players, but defines only {1} spawn points".F(multiPlayers, spawnCount)); + + if (map.SpawnPoints.Value.Distinct().Count() != spawnCount) + emitError("Duplicate spawn point locations detected."); } } }