Remove unused OwnerLinkedProc field.

This commit is contained in:
Paul Chote
2019-08-25 13:51:38 +01:00
committed by reaperrr
parent 815ea1e13b
commit 2b4ad71151

View File

@@ -103,10 +103,6 @@ namespace OpenRA.Mods.Common.Traits
int conditionToken = ConditionManager.InvalidConditionToken;
HarvesterResourceMultiplier[] resourceMultipliers;
[Sync]
public Actor OwnerLinkedProc = null;
[Sync]
public Actor LastLinkedProc = null;
@@ -316,7 +312,7 @@ namespace OpenRA.Mods.Common.Traits
if (order.OrderString == "Harvest")
{
// NOTE: An explicit harvest order allows the harvester to decide which refinery to deliver to.
LinkProc(self, OwnerLinkedProc = null);
LinkProc(self, null);
CPos loc;
if (order.Target.Type != TargetType.Invalid)