From 38f341ac1db23b774992e331fa2d7e430dc0d627 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Thu, 6 Dec 2018 17:02:01 +1300 Subject: [PATCH] Allow MadTank Detonate order to be queued. --- OpenRA.Mods.Cnc/Traits/MadTank.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenRA.Mods.Cnc/Traits/MadTank.cs b/OpenRA.Mods.Cnc/Traits/MadTank.cs index f1a39fb7e9..a00cad747f 100644 --- a/OpenRA.Mods.Cnc/Traits/MadTank.cs +++ b/OpenRA.Mods.Cnc/Traits/MadTank.cs @@ -212,7 +212,8 @@ namespace OpenRA.Mods.Cnc.Traits } else if (order.OrderString == "Detonate") { - self.CancelActivity(); + if (!order.Queued) + self.CancelActivity(); self.QueueActivity(new CallFunc(StartDetonationSequence)); } }