Fix up some demo code.

This commit is contained in:
bakpakin
2015-05-20 10:01:38 +08:00
parent be56780b88
commit b1ba9bebeb
5 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ end
AISystem.filter = tiny.requireAll("ai", "pos", "platforming")
function AISystem:process(e, dt)
if not self.target then
return
if not self.target then
return
end
local targetx = self.target.pos.x
local pos = e.pos