From 478030c9a00eff1badc1430b73067796c36098e8 Mon Sep 17 00:00:00 2001 From: Rikard Blixt Date: Fri, 18 Oct 2024 17:14:37 +0200 Subject: [PATCH] fix(match2): overwatch legacy mapping forever loop (#4912) --- components/match2/wikis/overwatch/legacy/match_maps_legacy.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/match2/wikis/overwatch/legacy/match_maps_legacy.lua b/components/match2/wikis/overwatch/legacy/match_maps_legacy.lua index 3f75594a3be..66bb77a7ea8 100644 --- a/components/match2/wikis/overwatch/legacy/match_maps_legacy.lua +++ b/components/match2/wikis/overwatch/legacy/match_maps_legacy.lua @@ -98,6 +98,9 @@ end function MatchMapsLegacy._handleDetails(args, details) Array.mapIndexes(function (index) local prefix = 'map' .. index + if not details[prefix] then + return nil + end local map = { map = Table.extract(details, prefix), score1 = Table.extract(details, prefix .. 'score1'),