Pause actor movement between cells when Mobile is disabled.

This commit is contained in:
Paul Chote
2019-02-02 11:02:18 +00:00
committed by Oliver Brakmann
parent c8f05e90dc
commit 83212b100e

View File

@@ -386,6 +386,9 @@ namespace OpenRA.Mods.Common.Activities
public override Activity Tick(Actor self)
{
if (Move.mobile.IsTraitDisabled)
return this;
var ret = InnerTick(self, Move.mobile);
Move.mobile.IsMoving = ret is MovePart;