v0.6.1: fixed emo icons now being properly reset

This commit is contained in:
Evan Debenham 2017-06-24 22:30:21 -04:00
parent 381b23b6bc
commit 8c50b988a3

View File

@ -444,6 +444,7 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
public void hideSleep() { public void hideSleep() {
if (emo instanceof EmoIcon.Sleep) { if (emo instanceof EmoIcon.Sleep) {
emo.killAndErase(); emo.killAndErase();
emo = null;
} }
} }
@ -462,6 +463,7 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
public void hideAlert() { public void hideAlert() {
if (emo instanceof EmoIcon.Alert) { if (emo instanceof EmoIcon.Alert) {
emo.killAndErase(); emo.killAndErase();
emo = null;
} }
} }