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:
@@ -41,6 +41,9 @@ public class DelayPath extends TimedPath
|
|||||||
// documentation inherited
|
// documentation inherited
|
||||||
public boolean tick (Pathable pable, long tickstamp)
|
public boolean tick (Pathable pable, long tickstamp)
|
||||||
{
|
{
|
||||||
|
if (tickstamp >= _startStamp + _duration) {
|
||||||
|
pable.pathCompleted(tickstamp);
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user