Fix carryalls telling carryables to unreserve when they are reserved for a different carryall;
Reserve carryable in FreeActorWithDelivery
This commit is contained in:
@@ -116,6 +116,9 @@ namespace OpenRA.Mods.D2k.Traits
|
||||
|
||||
public bool Reserve(Actor carrier)
|
||||
{
|
||||
if (Reserved)
|
||||
return false;
|
||||
|
||||
if ((self.Location - Destination).Length < info.MinDistance)
|
||||
{
|
||||
MovementCancelled(self);
|
||||
|
||||
Reference in New Issue
Block a user