Make interface implementations explicit where possible in traits that implement INotifySold
This commit is contained in:
@@ -36,13 +36,13 @@ namespace OpenRA.Mods.Common.Traits.Render
|
||||
spriteBody = self.TraitOrDefault<WithSpriteBody>();
|
||||
}
|
||||
|
||||
public void Repairing(Actor self, Actor target)
|
||||
void INotifyRepair.Repairing(Actor self, Actor target)
|
||||
{
|
||||
if (buildComplete && spriteBody != null && !(info.PauseOnLowPower && self.IsDisabled()))
|
||||
spriteBody.PlayCustomAnimation(self, info.Sequence, () => spriteBody.CancelCustomAnimation(self));
|
||||
}
|
||||
|
||||
public void BuildingComplete(Actor self)
|
||||
void INotifyBuildComplete.BuildingComplete(Actor self)
|
||||
{
|
||||
buildComplete = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user