Fix spy ignoring the target's faction.
This commit is contained in:
committed by
abcdefg30
parent
dffa1e45f4
commit
b4edec215e
@@ -60,7 +60,7 @@ namespace OpenRA.Mods.Cnc.Traits.Render
|
||||
.FirstOrDefault(t => t.EnabledByDefault);
|
||||
if (renderSprites != null && infantryBody != null)
|
||||
{
|
||||
disguiseImage = renderSprites.GetImage(disguiseActor, self.World.Map.Rules.Sequences, disguisePlayer.InternalName);
|
||||
disguiseImage = renderSprites.GetImage(disguiseActor, self.World.Map.Rules.Sequences, disguisePlayer.Faction.InternalName);
|
||||
disguiseInfantryBody = infantryBody;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user