Revert "Fixed AI Loop"

This reverts commit b53e2cb555afb3934d6df60532ef17bcf1da1d45.