Make the proper call here - there's no remove() on arrays...

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1002 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Mike Thomas
2010-08-27 18:49:40 +00:00
parent db9e350404
commit 91e8dc958b
+3 -1
View File
@@ -21,6 +21,8 @@ package com.threerings.media {
import flash.events.TimerEvent;
import flash.utils.Timer;
import com.threerings.util.ArrayUtil;
/**
* Registers objects that wish to be sent a tick() call once per frame.
*/
@@ -59,7 +61,7 @@ public class Ticker
public function removeTickable (tickable :Tickable) :void
{
_tickables.remove(tickable);
ArrayUtil.removeFirst(_tickables, tickable);
}
/** Everyone who wants to hear about our ticks. */