We currently recompute that every turn. This functions is a little slow because of the goal computation and line movement checks.
If we are already in straight-mode, we should just carry on.
However, this would break unit chasing. So I tried getting clever with it. This seems to work. Passes the Chasing test map anyways.
Potentially kinda dangerous still, but it is rather faster.