From 43de364dc2d71b2c0d26e18e97ddfeee2b824023 Mon Sep 17 00:00:00 2001 From: hjpalpha <75081997+hjpalpha@users.noreply.github.com> Date: Mon, 16 Dec 2024 14:48:34 +0100 Subject: [PATCH] Update components/match2/wikis/brawlstars/match_group_input_custom.lua Co-authored-by: Rikard Blixt --- .../match2/wikis/brawlstars/match_group_input_custom.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/match2/wikis/brawlstars/match_group_input_custom.lua b/components/match2/wikis/brawlstars/match_group_input_custom.lua index b83407e0b8..6890f1a78a 100644 --- a/components/match2/wikis/brawlstars/match_group_input_custom.lua +++ b/components/match2/wikis/brawlstars/match_group_input_custom.lua @@ -52,8 +52,8 @@ end ---@return table[] function MatchFunctions.extractMaps(match, opponents) local games = MatchGroupInputUtil.standardProcessMaps(match, opponents, MapFunctions) - Array.forEach(games, function(game, gameINdex) - game.vod = game.vod or String.nilIfEmpty(match['vodgame' .. gameINdex]) + Array.forEach(games, function(game, gameIndex) + game.vod = game.vod or String.nilIfEmpty(match['vodgame' .. gameIndex]) end) return games end