Move INotifySold to Common and require explicit implementation

This commit is contained in:
reaperrr
2016-10-20 18:44:29 +02:00
parent b8c04a0887
commit 22dcb1c66f
20 changed files with 53 additions and 43 deletions

View File

@@ -168,8 +168,8 @@ namespace OpenRA.Mods.Common.Traits
}
}
public void Selling(Actor self) { CancelDock(self); }
public void Sold(Actor self)
void INotifySold.Selling(Actor self) { CancelDock(self); }
void INotifySold.Sold(Actor self)
{
foreach (var harv in GetLinkedHarvesters())
harv.Trait.UnlinkProc(harv.Actor, self);