Allow MadTank Detonate order to be queued.
This commit is contained in:
@@ -212,7 +212,8 @@ namespace OpenRA.Mods.Cnc.Traits
|
|||||||
}
|
}
|
||||||
else if (order.OrderString == "Detonate")
|
else if (order.OrderString == "Detonate")
|
||||||
{
|
{
|
||||||
self.CancelActivity();
|
if (!order.Queued)
|
||||||
|
self.CancelActivity();
|
||||||
self.QueueActivity(new CallFunc(StartDetonationSequence));
|
self.QueueActivity(new CallFunc(StartDetonationSequence));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user