fixed bug where orgs.reset() would break the orgs.array list
This commit is contained in:
@@ -78,7 +78,7 @@ end
|
|||||||
function modpol.orgs.reset()
|
function modpol.orgs.reset()
|
||||||
for id, org in ipairs(modpol.orgs.array) do
|
for id, org in ipairs(modpol.orgs.array) do
|
||||||
if id > 1 then
|
if id > 1 then
|
||||||
modpol.orgs.array[id] = nil
|
modpol.orgs.array[id] = "removed"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user