fixed bug where orgs.reset() would break the orgs.array list

This commit is contained in:
Luke Miller 2021-04-27 13:41:51 -04:00
parent 919e7524d2
commit f09b6845c2

View File

@ -78,7 +78,7 @@ end
function modpol.orgs.reset()
for id, org in ipairs(modpol.orgs.array) do
if id > 1 then
modpol.orgs.array[id] = nil
modpol.orgs.array[id] = "removed"
end
end