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

@@ -59,7 +59,7 @@ namespace OpenRA.Mods.RA
static Player FindPlayerInSlot(World world, string pr)
{
return world.Players.FirstOrDefault(p => p.PlayerRef.Name == pr);
return world.Players.FirstOrDefault(p => p.PlayerReference.Name == pr);
}
static int2 ChooseSpawnPoint(World world, List<int2> available, List<int2> taken)