From 4b4bbdf626d0eb81aedbe1578abaedb6bebb3488 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Wed, 25 Apr 2012 01:58:37 +1200 Subject: [PATCH] fix recent breakage in support powers --- OpenRA.Mods.RA/SupportPowers/SupportPowerManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenRA.Mods.RA/SupportPowers/SupportPowerManager.cs b/OpenRA.Mods.RA/SupportPowers/SupportPowerManager.cs index 1aa535c135..dcb652c20c 100755 --- a/OpenRA.Mods.RA/SupportPowers/SupportPowerManager.cs +++ b/OpenRA.Mods.RA/SupportPowers/SupportPowerManager.cs @@ -136,7 +136,8 @@ namespace OpenRA.Mods.RA public void Tick() { - if (Disabled || Instances.All(i => i.self.IsDisabled())) + Active = Disabled || Instances.All(i => i.self.IsDisabled()); + if (!Active) return; if (Manager.devMode.FastCharge && RemainingTime > 25)