Content deleted Content added
fix that |
should make i a bit safer Tag: Reverted |
||
Line 88:
-- 'or 0' to keep us safe from a non-numeric value. Can consider
-- whether to error here.
classes[i].count = tonumber(args[tostring(i)]) or 0
sum_classes = sum_classes + classes[tostring(i)].count
end
end
|