Allow skipping 'sell'/undeploy anim for actors that TransformOnCapture

This commit is contained in:
reaperrr
2017-08-10 19:57:13 +02:00
committed by Paul Chote
parent c848b30e9e
commit eb5fb5abba

View File

@@ -67,7 +67,7 @@ namespace OpenRA.Mods.Common.Activities
nt.BeforeTransform(self);
var makeAnimation = self.TraitOrDefault<WithMakeAnimation>();
if (makeAnimation != null)
if (!SkipMakeAnims && makeAnimation != null)
{
// Once the make animation starts the activity must not be stopped anymore.
IsInterruptible = false;