Skip to content

Commit

Permalink
Don't blow up if classic maps have Multi{0} in them either
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott_NZ authored and Scott_NZ committed Jan 8, 2013
1 parent bb5212d commit baa7a58
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions OpenRA.Game/Map.cs
Expand Up @@ -400,6 +400,9 @@ public void MakeDefaultPlayers()
var numSpawns = GetSpawnPoints().Length;
for (var index = 0; index < numSpawns; index++)
{
if (Players.ContainsKey("Multi{0}".F(index)))
continue;

var p = new PlayerReference
{
Name = "Multi{0}".F(index),
Expand Down

0 comments on commit baa7a58

Please sign in to comment.