Ai fix

Fixed the last pull requests issues and made the new Ai movement changes actually work (possibly?).