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

Update ai.lua