Skip to content

Commit

Permalink
Change parameter to showScore for each map once enabled instead of on…
Browse files Browse the repository at this point in the history
…ly when mapDetails are turned off (#3436)

When the parameter "showScore" has been set to true in the BracketGen then it will show "|score1= |score2=" in the map section every time, instead of only showing that part when mapDetails has been turned off. 

(Saves me to do a few find+replace moves for tournaments where only mapScores are known)
  • Loading branch information
Okidokie98 authored Oct 26, 2023
1 parent bbf251c commit c6208bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function wikiCopyPaste.getMatchCode(bestof, mode, index, opponents, args)
end
for i = 1, bestof do
out = out .. '\n\t|map' .. i .. '={{Map|map='
if not mapDetails then
if showScore then
out = out .. '|score1=|score2='
end
out = out .. '|finished='
Expand Down

0 comments on commit c6208bf

Please sign in to comment.