don't explode on taking damage to <50% while selling
This commit is contained in:
@@ -68,6 +68,9 @@ namespace OpenRA.Graphics
|
||||
|
||||
public void ReplaceAnim(string sequenceName)
|
||||
{
|
||||
if (!HasSequence(sequenceName))
|
||||
return;
|
||||
|
||||
CurrentSequence = SequenceProvider.GetSequence(name, sequenceName);
|
||||
frame %= CurrentSequence.Length;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user