fixed bug where orgs.reset() would break the orgs.array list
This commit is contained in:
parent
919e7524d2
commit
f09b6845c2
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user