Content deleted Content added
y will always be greater than the begin year, which means even if we've overrun the end year it will still add the number. Thus, switch the if statements |
|||
Line 119:
if COMPETITIONS[args.competition] then
for _, y in pairs(COMPETITIONS[args.competition]) do
if
processYear(y)▼
elseif end_year and y >= end_year then▼
break
▲ processYear(y)
end
end
|