From a39f966a11b17e780babc9ebbf7c0a42ecee9238 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Tue, 26 May 2015 12:00:10 +0200 Subject: [PATCH] Don't skip the heal animation --- OpenRA.Mods.Common/Traits/Render/WithInfantryBody.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/Render/WithInfantryBody.cs b/OpenRA.Mods.Common/Traits/Render/WithInfantryBody.cs index 3b59aa96b0..4d738874d8 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithInfantryBody.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithInfantryBody.cs @@ -129,7 +129,7 @@ namespace OpenRA.Mods.Common.Traits public void TickIdle(Actor self) { - if (state != AnimationState.Idle && state != AnimationState.IdleAnimating) + if (state != AnimationState.Idle && state != AnimationState.IdleAnimating && state != AnimationState.Attacking) { DefaultAnimation.PlayFetchIndex(NormalizeInfantrySequence(self, info.StandSequences.Random(Game.CosmeticRandom)), () => 0); state = AnimationState.Idle;