Remove unused IExplodeModifier from Refinery.
This commit is contained in:
committed by
Oliver Brakmann
parent
10e51db236
commit
5f2cc5981d
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user