mirror of
https://github.com/bakpakin/tiny-ecs.git
synced 2026-07-22 07:56:52 -06:00
Fix up some demo code.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user