Content deleted Content added
eliminate use of local flag by checking sequence length instead |
No edit summary |
||
Line 70:
args[currentIdx+2] == nil or
args[currentIdx+3] == nil or
args[currentIdx+4] == nil
return nil
end
name = mw.text.trim(args[currentIdx]),
}
teamInfo.wins = teamInfo.homeWins + teamInfo.roadWins
teamInfo.losses = teamInfo.homeLosses + teamInfo.roadLosses
return teamInfo
end -- function readTeamInfo()
Line 144 ⟶ 143:
fTeamInfoPresent = true
table.insert(listOfTeams, teamInfo)
currentArgIdx = currentArgIdx +
end
|