Module:Team appearances list: Difference between revisions

Content deleted Content added
Undid revision 750445278 by Primefac (talk) or not...
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 notend_year begin_year orand y >= begin_yearend_year then
processYear(y)
elseif end_year and y >= end_year then
break
elseif end_yearnot andbegin_year or y >= end_yearbegin_year then
processYear(y)
end
end