Changes to ExternalCondition.TryRevokeCondition

This commit is contained in:
atlimit8
2017-07-18 13:34:05 -05:00
committed by Paul Chote
parent 72236b66f6
commit c7d3c3ec73
4 changed files with 19 additions and 6 deletions

View File

@@ -56,7 +56,8 @@ namespace OpenRA.Mods.Common.Traits
return;
foreach (var external in segment.TraitsImplementing<ExternalCondition>())
external.TryRevokeCondition(segment, self, token);
if (external.TryRevokeCondition(segment, self, token))
break;
}
void INotifyLineBuildSegmentsChanged.SegmentAdded(Actor self, Actor segment)