Update ai.lua
Merge pull request #22 from MrRatermat/patch-17

Update ai.lua