reverting metatable loading code
This commit is contained in:
@@ -71,9 +71,10 @@ dofile (topdir .. "/api.lua")
|
||||
|
||||
-- ===================================================================
|
||||
-- Final checks
|
||||
|
||||
for id, org in ipairs(modpol.orgs.array) do
|
||||
setmetatable(org, modpol.orgs)
|
||||
if type(org) == 'table' then
|
||||
setmetatable(org, modpol.orgs)
|
||||
end
|
||||
end
|
||||
|
||||
-- create instance if not present
|
||||
|
||||
Reference in New Issue
Block a user