Content deleted Content added
Fixed out of bounds error Tag: Reverted |
Fixed off-by-one error |
||
(One intermediate revision by the same user not shown) | |||
Line 101:
for i = #records, 1, -1 do
local record = records[i]
if i < #records and record.streak > 3 then
for j = i,
table.remove(records, j)
end
|