diff --git a/OpenRA.Mods.RA/CreateMPPlayers.cs b/OpenRA.Mods.RA/CreateMPPlayers.cs index 53f2507b19..0ee321409f 100644 --- a/OpenRA.Mods.RA/CreateMPPlayers.cs +++ b/OpenRA.Mods.RA/CreateMPPlayers.cs @@ -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); } } }