1,124
edits
Line 10: | Line 10: | ||
local jobs = {} | local jobs = {} | ||
for k, v in pairs(b) do | for k, v in pairs(b) do | ||
if v.rank then | if v.rank == rank then | ||
jobs[k] = true | jobs[k] = true | ||
end | end | ||
end | end | ||
mw. | |||
mw.logObject(jobs) | |||
table.sort(jobs) | table.sort(jobs) | ||
if #jobs > 0 then | if #jobs > 0 then |