v0.6.2: fixed some effects persisting when character sprites are destroyed

This commit is contained in:
Evan Debenham 2017-09-12 22:41:04 -04:00
parent becd3167da
commit ff6d3f93ff

View File

@ -498,6 +498,10 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
emo.killAndErase();
}
for( State s : State.values()){
remove(s);
}
if (health != null){
health.killAndErase();
}