Fix RCS1089
This commit is contained in:
@@ -197,7 +197,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
currentTargetDelay = 0;
|
||||
}
|
||||
else
|
||||
currentTargetDelay += 1;
|
||||
currentTargetDelay++;
|
||||
|
||||
if (capturingToken == Actor.InvalidConditionToken)
|
||||
capturingToken = self.GrantCondition(info.CapturingCondition);
|
||||
|
||||
@@ -714,7 +714,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
return;
|
||||
|
||||
RemainingCost -= costThisFrame;
|
||||
RemainingTime -= 1;
|
||||
RemainingTime--;
|
||||
if (RemainingTime > 0)
|
||||
return;
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
// Not a real hash, but things checking this only care about checking when the selection has changed
|
||||
// For this purpose, having a false positive (forcing a refresh when nothing changed) is much better
|
||||
// than a false negative (selection state mismatch)
|
||||
Hash += 1;
|
||||
Hash++;
|
||||
}
|
||||
|
||||
public virtual void Add(Actor a)
|
||||
|
||||
Reference in New Issue
Block a user