Fix Army Spectator tab not using FactionImages.
This commit is contained in:
committed by
Matthias Mailänder
parent
ac0969d688
commit
30f14dcc4c
@@ -159,7 +159,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
if (BuildableInfo != null && rsi != null)
|
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 = new Animation(owner.World, image);
|
||||||
Icon.Play(BuildableInfo.Icon);
|
Icon.Play(BuildableInfo.Icon);
|
||||||
IconPalette = BuildableInfo.IconPalette;
|
IconPalette = BuildableInfo.IconPalette;
|
||||||
|
|||||||
Reference in New Issue
Block a user