Fixes AI code a bit >.>
Fuck fucking spaces
Merge pull request #4211 from Firecage/AIcode

Fixes AI code a bit >.>