diff --git a/components/match2/commons/starcraft_starcraft2/match_group_input_starcraft_ffa.lua b/components/match2/commons/starcraft_starcraft2/match_group_input_starcraft_ffa.lua index e179dfa90a0..7748294c364 100644 --- a/components/match2/commons/starcraft_starcraft2/match_group_input_starcraft_ffa.lua +++ b/components/match2/commons/starcraft_starcraft2/match_group_input_starcraft_ffa.lua @@ -103,12 +103,6 @@ function StarcraftFfaMatchGroupInput.processMatch(match, options) or match.pbg[opponent.placement] or DEFUALT_BACKGROUND - -- todo: get rid of the damn alias ... - if Logic.isEmpty(opponent.advances) and Logic.isNotEmpty(opponent.win) then - opponent.advances = opponent.win - mw.ext.TeamLiquidIntegration.add_category('Pages with ffa matches using `win=` in opponents') - end - opponent.extradata.advances = Logic.readBool(opponent.advances) or (match.bestof and (opponent.score or 0) >= match.bestof) or opponent.extradata.bg == ADVANCE_BACKGROUND @@ -262,14 +256,6 @@ function MapFunctions.readMap(mapInput, opponentCount, hasScores) return map end - -- todo: get rid of the damn alias ... - Array.forEach(Array.range(1, opponentCount), function(opponentIndex) - if not map['score' .. opponentIndex] and map['points' .. opponentIndex] then - mw.ext.TeamLiquidIntegration.add_category('Pages with ffa matches using `pointsX=` in maps') - map['score' .. opponentIndex] = map['points' .. opponentIndex] - end - end) - local opponentsInfo = Array.map(Array.range(1, opponentCount), function(opponentIndex) return MapFunctions.getOpponentInfo(mapInput, opponentIndex, hasScores) end)