significant progress! a working process from beginning to end can be seen in test/org_req_test.lua

This commit is contained in:
Luke Miller
2021-05-06 14:13:02 -04:00
parent a7ba7605d3
commit 797d0bebb8
5 changed files with 66 additions and 12 deletions

View File

@@ -78,8 +78,9 @@ if (modpol.orgs.array) then
if type(org) == 'table' then
setmetatable(org, modpol.orgs)
-- sets process metatable on load
print(org.modules)
for id, process in ipairs(org.processes) do
setmetatable(process, org.modules[process.type])
setmetatable(process, modpol.modules[process.type])
end
end
end