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:
Ray Greenwell
2007-05-04 00:41:32 +00:00
parent bb54ec1888
commit d43eabc156
@@ -69,6 +69,7 @@ public class FloatingTextAnimation extends Sprite
var perc :Number = elapsed / duration;
if (perc >= 1) {
AnimationManager.removeDisplayAnimation(this);
parent.removeChild(this);
return;
}