diff --git a/components/match2/wikis/tft/match_group_input_custom.lua b/components/match2/wikis/tft/match_group_input_custom.lua index 10785349194..6bac018dbc6 100644 --- a/components/match2/wikis/tft/match_group_input_custom.lua +++ b/components/match2/wikis/tft/match_group_input_custom.lua @@ -62,7 +62,8 @@ function CustomMatchGroupInput.processMatch(match, options) MatchGroupInputUtil.setPlacement(opponents, match.winner, 1, 2, match.resulttype) end - MatchFunctions.getTournamentVars(match) + Table.mergeInto(match, MatchGroupInputUtil.getTournamentContext(match)) + match.mode = Variables.varDefault('tournament_mode', DEFAULT_MODE) match.stream = Streams.processStreams(match) match.links = MatchFunctions.getLinks(match) @@ -75,13 +76,6 @@ function CustomMatchGroupInput.processMatch(match, options) return match end ----@param match table ----@return table -function MatchFunctions.getTournamentVars(match) - match.mode = Variables.varDefault('tournament_mode', DEFAULT_MODE) - return MatchGroupInputUtil.getCommonTournamentVars(match) -end - ---@param match table ---@return table function MatchFunctions.getLinks(match)