summaryrefslogtreecommitdiff
path: root/legacy.lua
diff options
context:
space:
mode:
Diffstat (limited to 'legacy.lua')
-rw-r--r--legacy.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy.lua b/legacy.lua
index a67fbd4..83b3d27 100644
--- a/legacy.lua
+++ b/legacy.lua
@@ -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)