Update ai.lua
Merge pull request #12 from MrRatermat/patch-8

Update ai.lua