Skip to content

Commit

Permalink
fix(match2): missing indent for casters in sc(2) copy pasta (#4549)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjpalpha authored Aug 16, 2024
1 parent 4d68ec9 commit 20ba232
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function WikiCopyPaste.getMatchCode(bestof, mode, index, opponents, args)
index == 1 and (INDENT .. '|bestof=' .. (bestof ~= 0 and bestof or '')) or nil,
Logic.readBool(args.needsWinner) and INDENT .. '|winner=' or nil,
Logic.readBool(args.hasDate) and {INDENT .. '|date=', INDENT .. '|twitch='} or {},
Logic.readBool(args.casters) and '|caster1=|caster2=' or nil,
Logic.readBool(args.casters) and (INDENT .. '|caster1=|caster2=') or nil,
Array.map(Array.range(1, opponents), function(opponentIndex)
return INDENT .. '|opponent' .. opponentIndex .. '=' .. WikiCopyPaste.getOpponent(mode, showScore)
end),
Expand Down

0 comments on commit 20ba232

Please sign in to comment.