Remove unused parameters.
This commit is contained in:
committed by
abcdefg30
parent
ea243b8558
commit
0e7ad43425
@@ -159,7 +159,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
if (BuildableInfo != null && rsi != null)
|
||||
{
|
||||
var image = rsi.GetImage(actorInfo, owner.World.Map.Rules.Sequences, owner.Faction.Name);
|
||||
var image = rsi.GetImage(actorInfo, owner.Faction.Name);
|
||||
Icon = new Animation(owner.World, image);
|
||||
Icon.Play(BuildableInfo.Icon);
|
||||
IconPalette = BuildableInfo.IconPalette;
|
||||
|
||||
Reference in New Issue
Block a user