Fixed table error on processes load
This commit is contained in:
		| @@ -78,11 +78,13 @@ if (modpol.orgs.array) then | ||||
|         if type(org) == 'table' then  | ||||
|             setmetatable(org, modpol.orgs) | ||||
|             -- sets process metatable on load | ||||
|             if type(org.processes) == 'table' then | ||||
|                for id, process in ipairs(org.processes) do | ||||
|                   setmetatable(process, modpol.modules[process.type]) | ||||
|                end | ||||
|             end | ||||
|         end | ||||
|     end | ||||
| end | ||||
|  | ||||
| -- create instance if not present | ||||
|   | ||||
		Reference in New Issue
	
	Block a user