From a96780e04d22c916921be996a6b99487efc4e569 Mon Sep 17 00:00:00 2001 From: the lemons Date: Sat, 27 Aug 2022 02:49:55 -0500 Subject: store the current camera as an attribute of the world --- world.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'world.lua') diff --git a/world.lua b/world.lua index a219589..ec35d07 100644 --- a/world.lua +++ b/world.lua @@ -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) -- cgit v1.2.3