summaryrefslogtreecommitdiff
path: root/world.lua
diff options
context:
space:
mode:
Diffstat (limited to 'world.lua')
-rw-r--r--world.lua3
1 files changed, 1 insertions, 2 deletions
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)