Simplify settings definitions and namespace settings

This commit is contained in:
ShadowNinja
2014-11-17 21:16:59 -05:00
parent e4aef02cb9
commit 3f777900d4
5 changed files with 45 additions and 44 deletions

View File

@ -110,7 +110,7 @@ GetNodeOwnerName = areas.getNodeOwnerName
HasOwner = areas.hasOwner
-- This is entirely untested and may break in strange and new ways.
if areas.legacy_table then
if areas.config.legacy_table then
owner_defs = setmetatable({}, {
__index = function(table, key)
local a = rawget(areas.areas, key)