Fix WithSpriteBody PlayCustomAnimationRepeating
Lacked damage stage awareness.
This commit is contained in:
@@ -81,8 +81,8 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
public void PlayCustomAnimationRepeating(Actor self, string name)
|
||||
{
|
||||
DefaultAnimation.PlayThen(name,
|
||||
() => PlayCustomAnimationRepeating(self, name));
|
||||
var sequence = NormalizeSequence(self, name);
|
||||
DefaultAnimation.PlayThen(sequence, () => PlayCustomAnimationRepeating(self, sequence));
|
||||
}
|
||||
|
||||
public void PlayCustomAnimationBackwards(Actor self, string name, Action after = null)
|
||||
|
||||
Reference in New Issue
Block a user