Fix INotifyRepair argument order.

This commit is contained in:
Paul Chote
2016-07-09 11:12:56 +01:00
parent 7325f0e733
commit b0c9d49d14
3 changed files with 4 additions and 4 deletions

View File

@@ -36,10 +36,10 @@ namespace OpenRA.Mods.Common.Traits.Render
spriteBody = self.TraitOrDefault<WithSpriteBody>();
}
public void Repairing(Actor self, Actor host)
public void Repairing(Actor self, Actor target)
{
if (buildComplete && spriteBody != null && !(info.PauseOnLowPower && self.IsDisabled()))
spriteBody.PlayCustomAnimation(host, info.Sequence, () => spriteBody.CancelCustomAnimation(host));
spriteBody.PlayCustomAnimation(self, info.Sequence, () => spriteBody.CancelCustomAnimation(self));
}
public void BuildingComplete(Actor self)