Have the delay path call pathCompleted when it is done. Otherwise it's

going to be a very long delay.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3765 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Mark Johnson
2005-11-18 00:54:35 +00:00
parent 9e533f3d3d
commit 709c2d94bf
@@ -41,6 +41,9 @@ public class DelayPath extends TimedPath
// documentation inherited
public boolean tick (Pathable pable, long tickstamp)
{
if (tickstamp >= _startStamp + _duration) {
pable.pathCompleted(tickstamp);
}
return false;
}
}