fix recent breakage in support powers

This commit is contained in:
Chris Forbes
2012-04-25 01:58:37 +12:00
parent cebf908bb2
commit 4b4bbdf626

View File

@@ -136,7 +136,8 @@ namespace OpenRA.Mods.RA
public void Tick() public void Tick()
{ {
if (Disabled || Instances.All(i => i.self.IsDisabled())) Active = Disabled || Instances.All(i => i.self.IsDisabled());
if (!Active)
return; return;
if (Manager.devMode.FastCharge && RemainingTime > 25) if (Manager.devMode.FastCharge && RemainingTime > 25)