From 30f14dcc4ca81901f48cd418afbe7ea8199efe44 Mon Sep 17 00:00:00 2001 From: Mustafa Alperen Seki Date: Tue, 15 Mar 2022 12:23:28 +0300 Subject: [PATCH] Fix Army Spectator tab not using FactionImages. --- OpenRA.Mods.Common/Traits/Player/PlayerStatistics.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/Player/PlayerStatistics.cs b/OpenRA.Mods.Common/Traits/Player/PlayerStatistics.cs index e3f5c5ebca..a22f477012 100644 --- a/OpenRA.Mods.Common/Traits/Player/PlayerStatistics.cs +++ b/OpenRA.Mods.Common/Traits/Player/PlayerStatistics.cs @@ -159,7 +159,7 @@ namespace OpenRA.Mods.Common.Traits if (BuildableInfo != null && rsi != null) { - var image = rsi.GetImage(actorInfo, owner.Faction.Name); + var image = rsi.GetImage(actorInfo, owner.Faction.InternalName); Icon = new Animation(owner.World, image); Icon.Play(BuildableInfo.Icon); IconPalette = BuildableInfo.IconPalette;