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

Update ai.lua