don't let MAD tanks run multiple StartDetionationSequence activities
This commit is contained in:
@@ -123,6 +123,9 @@ namespace OpenRA.Mods.RA
|
|||||||
|
|
||||||
void StartDetonationSequence()
|
void StartDetonationSequence()
|
||||||
{
|
{
|
||||||
|
if (deployed)
|
||||||
|
return;
|
||||||
|
|
||||||
self.World.AddFrameEndTask(w => EjectDriver());
|
self.World.AddFrameEndTask(w => EjectDriver());
|
||||||
if (info.ThumpSequence != null)
|
if (info.ThumpSequence != null)
|
||||||
renderUnit.PlayCustomAnimRepeating(self, info.ThumpSequence);
|
renderUnit.PlayCustomAnimRepeating(self, info.ThumpSequence);
|
||||||
|
|||||||
Reference in New Issue
Block a user