Fix Army Spectator tab not using FactionImages.

This commit is contained in:
Mustafa Alperen Seki
2022-03-15 12:23:28 +03:00
committed by Matthias Mailänder
parent ac0969d688
commit 30f14dcc4c

View File

@@ -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;