Fix aircraft with TakeOffOnResupply not taking off

...after auto-resupply.
This commit is contained in:
reaperrr
2019-08-08 20:25:09 +02:00
committed by abcdefg30
parent ddf824b494
commit 969be686a3
2 changed files with 2 additions and 2 deletions

View File

@@ -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]