reverting metatable loading code

This commit is contained in:
Luke Miller
2021-04-23 22:26:04 -04:00
parent 6258855380
commit 23d4a54a8e
3 changed files with 8 additions and 5 deletions

View File

@@ -117,9 +117,9 @@ local load_orgs = function()
modpol.orgs = func()
-- this block resets the metatable after being loaded in so that the class functions work
for id, org in ipairs(modpol.orgs.array) do
setmetatable(org, modpol.orgs)
end
-- for id, org in ipairs(modpol.orgs.array) do
-- setmetatable(org, modpol.orgs)
-- end
local nn = modpol.ocutil.table_length (modpol.orgs.array)
local str = "entries"