works *without* aftermath again.
This commit is contained in:
@@ -45,8 +45,8 @@ namespace OpenRa.Game.Traits.Activities
|
||||
umt = mobile.GetMovementType(),
|
||||
checkForBlocked = false,
|
||||
};
|
||||
var refineries = Game.world.Actors.Where( x => x.unitInfo != null
|
||||
&& x.unitInfo.Name == "proc" && x.Owner == self.Owner ).ToList();
|
||||
var refineries = Game.world.Actors.Where( x => x.traits.Contains<AcceptsOre>()
|
||||
&& x.Owner == self.Owner ).ToList();
|
||||
if( refinery != null )
|
||||
search.AddInitialCell( refinery.Location + refineryDeliverOffset );
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user