From 950dd4e85cf932c21d29e3bbbfb7bcc4da96c54c Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Tue, 7 Sep 2010 17:33:11 +1200 Subject: [PATCH] fix #99 chronoshift-deploy didnt need to be charged --- OpenRA.Mods.RA/ChronoshiftDeploy.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.RA/ChronoshiftDeploy.cs b/OpenRA.Mods.RA/ChronoshiftDeploy.cs index 9db2c130bb..ad81291890 100644 --- a/OpenRA.Mods.RA/ChronoshiftDeploy.cs +++ b/OpenRA.Mods.RA/ChronoshiftDeploy.cs @@ -45,8 +45,9 @@ namespace OpenRA.Mods.RA { if (order.OrderString == "ChronoshiftDeploy") { - if (self.Owner == self.World.LocalPlayer) - self.World.OrderGenerator = new SetChronoTankDestination(self); + if (chargeTick <= 0) + if (self.Owner == self.World.LocalPlayer) + self.World.OrderGenerator = new SetChronoTankDestination(self); return; }