hack around crash on boat repair

This commit is contained in:
Chris Forbes
2010-06-18 20:55:06 +12:00
parent 0c25924789
commit 0ef91ecc2d

View File

@@ -59,6 +59,7 @@ namespace OpenRA.Traits
public void PlayCustomAnim(Actor self, string name)
{
if (anim.HasSequence(name))
anim.PlayThen(GetPrefix(self) + name,
() => anim.PlayRepeating(GetPrefix(self) + "idle"));
}