get rid of Sellable.Selling state

This commit is contained in:
Chris Forbes
2012-09-13 07:09:44 +12:00
parent c253e59c57
commit b0b0fac847
2 changed files with 1 additions and 9 deletions

View File

@@ -36,10 +36,6 @@ namespace OpenRA.Mods.RA.Activities
if (capturable != null && capturable.CaptureInProgress && capturable.Captor.Owner.Stances[self.Owner] == Stance.Ally)
return NextActivity;
var sellable = target.TraitOrDefault<Sellable>();
if (sellable != null && sellable.Selling)
return NextActivity;
if (!target.Trait<Capturable>().BeginCapture(target, self))
return NextActivity;