Autocarryall put down unit if destination is cancelled when picking up

This commit is contained in:
dnqbob
2025-11-02 02:54:39 +00:00
committed by hacker
parent b4f3d8ae02
commit 68fd987856

View File

@@ -192,8 +192,7 @@ namespace OpenRA.Mods.Common.Traits
return true;
var dropRange = carryall.Info.DropRange;
QueueChild(new DeliverUnit(self, Target.FromCell(self.World, carryable.Destination ?? self.Location), dropRange, carryall.Info.TargetLineColor));
self.QueueActivity(true, new DeliverUnit(self, Target.FromCell(self.World, carryable.Destination ?? self.Location), dropRange, carryall.Info.TargetLineColor));
return true;
}
}