diff options
| author | the lemons <citrons@mondecitronne.com> | 2022-08-27 02:49:55 -0500 |
|---|---|---|
| committer | the lemons <citrons@mondecitronne.com> | 2022-08-27 02:50:27 -0500 |
| commit | a96780e04d22c916921be996a6b99487efc4e569 (patch) | |
| tree | c83eec2efa53b4f54b56bc0fd750c0c5ad46c920 /world.lua | |
| parent | 0e89c14698023c50001fb820c82f2f59b0730b03 (diff) | |
store the current camera as an attribute of the world
Diffstat (limited to 'world.lua')
| -rw-r--r-- | world.lua | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -74,8 +74,7 @@ function obj_proto:require(ct, instance) end local world_proto = {} -local world_mt = - {__index = world_proto, __newindex = function()assert(false)end} +local world_mt = {__index = world_proto} local function world() local w = setmetatable({objects = {}, components = {}}, world_mt) |
