From ed5b8e064fdcc47cc7d738f96a1755f5efa2e2d2 Mon Sep 17 00:00:00 2001 From: hjpalpha <75081997+hjpalpha@users.noreply.github.com> Date: Sun, 22 Dec 2024 09:01:03 +0100 Subject: [PATCH] fix(opponent): resolve pagename for sc(2) `TemplatePlayer` (#5231) --- .../commons/starcraft_starcraft2/player_display_starcraft.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/components/opponent/commons/starcraft_starcraft2/player_display_starcraft.lua b/components/opponent/commons/starcraft_starcraft2/player_display_starcraft.lua index c9bddea5f42..9be1790677c 100644 --- a/components/opponent/commons/starcraft_starcraft2/player_display_starcraft.lua +++ b/components/opponent/commons/starcraft_starcraft2/player_display_starcraft.lua @@ -118,6 +118,7 @@ function StarcraftPlayerDisplay.TemplatePlayer(frame) pageName = pageName, faction = String.nilIfEmpty(args.race) or String.nilIfEmpty(args.faction) or Faction.defaultFaction, } + StarcraftPlayerExt.populatePageName(player) if not args.novar then StarcraftPlayerExt.saveToPageVars(player, {overwritePageVars = true})