splice tighter, fixes #44

This commit is contained in:
leijurv
2018-10-10 20:49:05 -07:00
committed by Leijurv
parent db21045cfb
commit 8c0bc3e2ef

View File

@@ -101,6 +101,7 @@ public final class PathingBehavior extends Behavior implements IPathingBehavior,
dispatchPathEvent(PathEvent.CONTINUING_ONTO_PLANNED_NEXT);
current = next;
next = null;
current.onTick(event);
return;
}
// at this point, current just ended, but we aren't in the goal and have no plan for the future