fix one stupid crash on using bots

This commit is contained in:
Chris Forbes
2010-08-25 19:36:22 +12:00
parent c3228cecd0
commit 701ef05562

View File

@@ -69,7 +69,7 @@ namespace OpenRA.Mods.RA
static Session.Client GetClientForPlayer(Player p)
{
return Game.LobbyInfo.Clients.Single(c => c.Index == p.Index);
return Game.LobbyInfo.Clients.Single(c => c.Index == p.ClientIndex);
}
}
}