Fixed entity lifetime problems

This commit is contained in:
Tjakka5 2019-12-29 15:05:19 +01:00
parent a8bc92a951
commit 38d461f8d6
4 changed files with 110 additions and 129 deletions

View file

@ -1,6 +0,0 @@
local Component = require("src").component
return Component(function(e, x, y)
e.x = x
e.y = y
end)