v0.6.2: fixed a rare bug caused by previous charsprite changes

This commit is contained in:
Evan Debenham 2017-09-18 17:31:04 -04:00
parent 3ca4d7737a
commit 340d14dc2f

View File

@ -126,7 +126,7 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
@Override
public void play(Animation anim) {
//Shouldn't interrupt the dieing animation
if (curAnim != die) {
if (curAnim == null || curAnim != die) {
super.play(anim);
}
}