fix one stupid crash on using bots
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user