remove spurious 'set' on IDisable and associated BS implementations

This commit is contained in:
Chris Forbes
2010-05-20 12:55:29 +12:00
parent f9a2c20eee
commit 151f5acb2f
3 changed files with 9 additions and 14 deletions

View File

@@ -37,8 +37,7 @@ namespace OpenRA.Mods.RA
public bool Disabled
{
get { return (self.Owner.PlayerActor.traits.Get<PlayerResources>().GetPowerState() != PowerState.Normal); }
set {} // Cannot explicity set
get { return (self.Owner.PlayerActor.traits.Get<PlayerResources>().GetPowerState() != PowerState.Normal); }
}
}
}