Update ai.lua
Merge pull request #11 from MrRatermat/patch-7

Fixed