resources moved off player onto a synced trait
This commit is contained in:
@@ -37,7 +37,7 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
public bool Disabled
|
||||
{
|
||||
get { return (self.Owner.GetPowerState() != PowerState.Normal); }
|
||||
get { return (self.Owner.PlayerActor.traits.Get<PlayerResources>().GetPowerState() != PowerState.Normal); }
|
||||
set {} // Cannot explicity set
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user