Skip to content

Commit

Permalink
do tft
Browse files Browse the repository at this point in the history
  • Loading branch information
Rathoz committed Oct 10, 2024
1 parent e7fea14 commit 4d23f87
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions components/match2/wikis/tft/match_group_input_custom.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 4d23f87

Please sign in to comment.