Fix WithDeliveryAnimation overriding sell animation.
This commit is contained in:
@@ -44,6 +44,8 @@ namespace OpenRA.Mods.Common.Traits.Render
|
|||||||
|
|
||||||
public void Delivered(Actor self)
|
public void Delivered(Actor self)
|
||||||
{
|
{
|
||||||
|
// Animation has already been cancelled by TraitDisabled below
|
||||||
|
if (!IsTraitDisabled)
|
||||||
wsb.CancelCustomAnimation(self);
|
wsb.CancelCustomAnimation(self);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user