From 45ec00d53fa2be09df562375ecd23852156a7adb Mon Sep 17 00:00:00 2001 From: hjpalpha <75081997+hjpalpha@users.noreply.github.com> Date: Thu, 2 Nov 2023 10:30:46 +0100 Subject: [PATCH] Catch nil in broodwar infobox map (#3465) --- components/infobox/wikis/starcraft/infobox_map_custom.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/infobox/wikis/starcraft/infobox_map_custom.lua b/components/infobox/wikis/starcraft/infobox_map_custom.lua index 014bf1b4331..cdbe5d9b038 100644 --- a/components/infobox/wikis/starcraft/infobox_map_custom.lua +++ b/components/infobox/wikis/starcraft/infobox_map_custom.lua @@ -75,7 +75,7 @@ end function CustomMap:addToLpdb(lpdbData, args) lpdbData.name = CustomMap:getNameDisplay(args) lpdbData.extradata = { - creator = mw.ext.TeamLiquidIntegration.resolve_redirect(args.creator), + creator = args.creator and mw.ext.TeamLiquidIntegration.resolve_redirect(args.creator) or nil, spawns = args.players, height = args.height, width = args.width,