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