Module:Sports series: Difference between revisions

Content deleted Content added
improve logic
no longer necessary
Line 123:
end
manualColor = true
end
 
-- Additional check for empty team names in NT matches
if matchType == 'NT' and ((not team1 or team1:match("^%s*$")) or (not team2 or team2:match("^%s*$"))) then
-- Skip further processing if either team name is effectively empty
return team1, team2, team1Winner, team2Winner, manualBold, manualColor
end