Module:Icons: Difference between revisions

From Melvor Idle
(Icon: Optimize, reduces runtime by ~30%)
m (Fix error)
Line 408: Line 408:
img = ovrImg
img = ovrImg
elseif type(ovrImg) == 'table' then
elseif type(ovrImg) == 'table' then
img = ovr[1]
img = ovrImg[1]
if ovr[2] ~= nil then iconType = ovr[2] end
if ovrImg[2] ~= nil then iconType = ovrImg[2] end
end
end
end
end