Closed Rathoz closed 11 hours ago
i think we also need to change https://github.com/Liquipedia/Lua-Modules/blob/ccdcbc6fd3e4bdc7b1bf29181bb2961d9c3e81f5/components/match2/commons/match_group_util.lua#L715 to
local opponents = record.opponents or Array.map(Array.range(1, opponentCount or 2), function (_, index)
so that the opponnets data stored is also available in matchsummary
tested in combination with #5111 (plus the above suggested changes) on sc, sc2, sg and wc
i think we also need to change
to
local opponents = record.opponents or Array.map(Array.range(1, opponentCount or 2), function (_, index)
so that the opponnets data stored is also available in matchsummary
Summary
Rework the parsing function to ensure we always end up with an array, and all players are also in their correct positions. This PR only implements it on Valorant. Other wikis will be rolled out afterwards.
How did you test this change?
By HJP