Rename Enter.targetCenter to repathWhileMoving.

This commit is contained in:
Paul Chote
2017-06-17 12:54:06 +01:00
committed by Oliver Brakmann
parent b0f1059df2
commit 995a3da43a
4 changed files with 8 additions and 8 deletions

View File

@@ -22,8 +22,8 @@ namespace OpenRA.Mods.Common.Activities
Actor transport;
Cargo cargo;
public EnterTransport(Actor self, Actor transport, int maxTries = 0, bool targetCenter = false)
: base(self, transport, EnterBehaviour.Exit, maxTries, targetCenter)
public EnterTransport(Actor self, Actor transport, int maxTries = 0, bool repathWhileMoving = true)
: base(self, transport, EnterBehaviour.Exit, maxTries, repathWhileMoving)
{
this.transport = transport;
this.maxTries = maxTries;