Update ai.lua
Merge pull request #9 from MrRatermat/patch-5

Update ai.lua