makes ai.GetTaskID work again.

Temporary fix so Base AI at least functions, I strongly recommend switching to Nextbot it is much better.