Skip to content

Commit

Permalink
more travis
Browse files Browse the repository at this point in the history
  • Loading branch information
MustaphaTR committed Jan 28, 2019
1 parent f70b063 commit 7dcbc43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OpenRA.Mods.Gen/Traits/Conditions/GrantConditionOnCapture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ void GrantCondition(Actor self, string cond)
if (string.IsNullOrEmpty(cond))
return;

token = manager.GrantCondition(self, cond);
if (token == ConditionManager.InvalidConditionToken)
token = manager.GrantCondition(self, cond);
}

void INotifyCapture.OnCapture(Actor self, Actor captor, Player oldOwner, Player newOwner, BitSet<CaptureType> captureTypes)
Expand Down

0 comments on commit 7dcbc43

Please sign in to comment.