Fix aircraft with TakeOffOnResupply not taking off
...after auto-resupply.
This commit is contained in:
@@ -28,7 +28,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
Actor dest;
|
||||
int facing = -1;
|
||||
|
||||
public ReturnToBase(Actor self, Actor dest = null, bool alwaysLand = true)
|
||||
public ReturnToBase(Actor self, Actor dest = null, bool alwaysLand = false)
|
||||
{
|
||||
this.dest = dest;
|
||||
this.alwaysLand = alwaysLand;
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
[Desc("Return to the base, which is either the destination given, or an auto-selected one otherwise.")]
|
||||
public void ReturnToBase(Actor destination = null)
|
||||
{
|
||||
Self.QueueActivity(new ReturnToBase(Self, destination));
|
||||
Self.QueueActivity(new ReturnToBase(Self, destination, true));
|
||||
}
|
||||
|
||||
[ScriptActorPropertyActivity]
|
||||
|
||||
Reference in New Issue
Block a user