Update ai.lua
Merge pull request #19 from MrRatermat/patch-15

Update ai.lua