From eb5fb5abba5292d73890cce36e7ad45bc5d126c9 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Thu, 10 Aug 2017 19:57:13 +0200 Subject: [PATCH] Allow skipping 'sell'/undeploy anim for actors that TransformOnCapture --- OpenRA.Mods.Common/Activities/Transform.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Activities/Transform.cs b/OpenRA.Mods.Common/Activities/Transform.cs index f5eaf34e02..324bc1dfaa 100644 --- a/OpenRA.Mods.Common/Activities/Transform.cs +++ b/OpenRA.Mods.Common/Activities/Transform.cs @@ -67,7 +67,7 @@ namespace OpenRA.Mods.Common.Activities nt.BeforeTransform(self); var makeAnimation = self.TraitOrDefault(); - if (makeAnimation != null) + if (!SkipMakeAnims && makeAnimation != null) { // Once the make animation starts the activity must not be stopped anymore. IsInterruptible = false;