From c6208bf032011eb04296465f862ff760188c6dd2 Mon Sep 17 00:00:00 2001 From: "Brandon \"Okidokie98\" de Baat" <36400524+Okidokie98@users.noreply.github.com> Date: Thu, 26 Oct 2023 13:40:59 +0200 Subject: [PATCH] Change parameter to showScore for each map once enabled instead of only 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) --- .../match2/wikis/rainbowsix/get_match_group_copy_paste_wiki.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/match2/wikis/rainbowsix/get_match_group_copy_paste_wiki.lua b/components/match2/wikis/rainbowsix/get_match_group_copy_paste_wiki.lua index 2648ba6fd47..f6176b00c5d 100644 --- a/components/match2/wikis/rainbowsix/get_match_group_copy_paste_wiki.lua +++ b/components/match2/wikis/rainbowsix/get_match_group_copy_paste_wiki.lua @@ -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='