We should be removing ourselves from our parent when we're finished.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@225 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -69,6 +69,7 @@ public class FloatingTextAnimation extends Sprite
|
||||
var perc :Number = elapsed / duration;
|
||||
if (perc >= 1) {
|
||||
AnimationManager.removeDisplayAnimation(this);
|
||||
parent.removeChild(this);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user