Fix naming of Player.PlayerReference.

This commit is contained in:
Paul Chote
2011-06-20 00:02:02 +12:00
parent 91b31b1981
commit e7543f28df
5 changed files with 8 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ namespace OpenRA.Network
/* todo: this is still a hack.
* the cases we're trying to avoid are the extra players on the host's client -- Neutral, other MapPlayers,..*/
return world.Players.FirstOrDefault(
p => (p.ClientIndex == c.Index && p.PlayerRef.Playable));
p => (p.ClientIndex == c.Index && p.PlayerReference.Playable));
}
public static void ProcessOrder(OrderManager orderManager, World world, int clientId, Order order)