If aircraft has FallsToEarth, return instead of just skipping reservation.
This commit is contained in:
@@ -133,8 +133,10 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
if (firstTick)
|
if (firstTick)
|
||||||
{
|
{
|
||||||
firstTick = false;
|
firstTick = false;
|
||||||
if (!self.HasTrait<FallsToEarth>()) // TODO: Aircraft husks don't properly unreserve.
|
if (self.HasTrait<FallsToEarth>()) // TODO: Aircraft husks don't properly unreserve.
|
||||||
ReserveSpawnBuilding();
|
return;
|
||||||
|
|
||||||
|
ReserveSpawnBuilding();
|
||||||
|
|
||||||
var host = GetActorBelow();
|
var host = GetActorBelow();
|
||||||
if (host == null)
|
if (host == null)
|
||||||
|
|||||||
@@ -43,8 +43,10 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
if (firstTick)
|
if (firstTick)
|
||||||
{
|
{
|
||||||
firstTick = false;
|
firstTick = false;
|
||||||
if (!self.HasTrait<FallsToEarth>()) // TODO: Aircraft husks don't properly unreserve.
|
if (self.HasTrait<FallsToEarth>()) // TODO: Aircraft husks don't properly unreserve.
|
||||||
ReserveSpawnBuilding();
|
return;
|
||||||
|
|
||||||
|
ReserveSpawnBuilding();
|
||||||
|
|
||||||
var host = GetActorBelow();
|
var host = GetActorBelow();
|
||||||
if (host == null)
|
if (host == null)
|
||||||
|
|||||||
Reference in New Issue
Block a user