diff --git a/OpenRA.Mods.Common/Traits/Buildings/Refinery.cs b/OpenRA.Mods.Common/Traits/Buildings/Refinery.cs index f683653f55..c159e1fdb2 100644 --- a/OpenRA.Mods.Common/Traits/Buildings/Refinery.cs +++ b/OpenRA.Mods.Common/Traits/Buildings/Refinery.cs @@ -52,7 +52,7 @@ namespace OpenRA.Mods.Common.Traits public virtual object Create(ActorInitializer init) { return new Refinery(init.Self, this); } } - public class Refinery : ITick, IAcceptResources, INotifySold, INotifyCapture, INotifyOwnerChanged, IExplodeModifier, ISync, INotifyActorDisposing + public class Refinery : ITick, IAcceptResources, INotifySold, INotifyCapture, INotifyOwnerChanged, ISync, INotifyActorDisposing { readonly Actor self; readonly RefineryInfo info; @@ -61,7 +61,6 @@ namespace OpenRA.Mods.Common.Traits int currentDisplayTick = 0; int currentDisplayValue = 0; - [Sync] public int Ore = 0; [Sync] Actor dockedHarv = null; [Sync] bool preventDock = false; @@ -180,7 +179,5 @@ namespace OpenRA.Mods.Common.Traits foreach (var harv in GetLinkedHarvesters()) harv.Trait.UnlinkProc(harv.Actor, self); } - - public bool ShouldExplode(Actor self) { return Ore > 0; } } }