Fix naming of Player.PlayerReference.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace OpenRA
|
||||
public readonly CountryInfo Country;
|
||||
public readonly bool NonCombatant = false;
|
||||
public readonly int ClientIndex;
|
||||
public readonly PlayerReference PlayerRef;
|
||||
public readonly PlayerReference PlayerReference;
|
||||
public bool IsBot;
|
||||
|
||||
public Shroud Shroud { get { return World.LocalShroud; }}
|
||||
@@ -43,7 +43,7 @@ namespace OpenRA
|
||||
{
|
||||
World = world;
|
||||
InternalName = pr.Name;
|
||||
PlayerRef = pr;
|
||||
PlayerReference = pr;
|
||||
string botType = null;
|
||||
|
||||
// Real player or host-created bot
|
||||
|
||||
Reference in New Issue
Block a user