Add IsDead check to FerryUnit OnFirstRun
This commit is contained in:
@@ -113,6 +113,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
protected override void OnFirstRun(Actor self)
|
protected override void OnFirstRun(Actor self)
|
||||||
{
|
{
|
||||||
|
if (!cargo.IsDead)
|
||||||
QueueChild(new PickupUnit(self, cargo, 0));
|
QueueChild(new PickupUnit(self, cargo, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user