Skip to content

Commit

Permalink
fix formatting in CanPowerDown
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisforbes committed Nov 4, 2011
1 parent 6932db1 commit cbee151
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenRA.Mods.RA/Buildings/CanPowerDown.cs
Expand Up @@ -20,8 +20,7 @@ public class CanPowerDownInfo : ITraitInfo

public class CanPowerDown : IResolveOrder, IDisable, INotifyCapture, ISync
{
[Sync]
bool disabled = false;
[Sync] bool disabled = false;
int normalPower = 0;
PowerManager PowerManager;

Expand All @@ -30,6 +29,7 @@ public CanPowerDown(ActorInitializer init)
PowerManager = init.self.Owner.PlayerActor.Trait<PowerManager>();
normalPower = init.self.Info.Traits.Get<BuildingInfo>().Power;
}

public bool Disabled { get { return disabled; } }

public void ResolveOrder(Actor self, Order order)
Expand Down

0 comments on commit cbee151

Please sign in to comment.