From 98afa922ac8d5f496380d02c29d14e4529da8f80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 31 May 2015 20:33:29 +0200 Subject: [PATCH] Random is already in the race list --- OpenRA.Mods.Common/Lint/CheckPlayers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Lint/CheckPlayers.cs b/OpenRA.Mods.Common/Lint/CheckPlayers.cs index b9617a7f7b..aef8eeeb2b 100644 --- a/OpenRA.Mods.Common/Lint/CheckPlayers.cs +++ b/OpenRA.Mods.Common/Lint/CheckPlayers.cs @@ -40,7 +40,7 @@ namespace OpenRA.Mods.Common.Lint var races = worldActor.Traits.WithInterface().Select(c => c.Race); foreach (var player in players.Values) - if (!string.IsNullOrWhiteSpace(player.Race) && player.Race != "Random" && !races.Contains(player.Race)) + if (!string.IsNullOrWhiteSpace(player.Race) && !races.Contains(player.Race)) emitError("Invalid race {0} chosen for player {1}.".F(player.Race, player.Name)); if (worldActor.Traits.Contains())