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

@@ -25,8 +25,8 @@ namespace OpenRA.Mods.RA
void SpawnUnitsForPlayer(Player p, int2 sp)
{
if (!p.PlayerRef.DefaultStartingUnits)
return; /* they don't want an mcv, the map provides something else for them OR it is a spectator. */
if (!p.PlayerReference.DefaultStartingUnits)
return; /* they don't want an mcv, the map provides something else for them */
p.World.CreateActor("mcv", new TypeDictionary
{