Make Mobile a PausableConditionalTrait

This commit is contained in:
tovl
2019-03-03 21:12:45 +01:00
committed by reaperrr
parent f63d0272a7
commit 2e5e7c22f4
20 changed files with 107 additions and 32 deletions

View File

@@ -190,7 +190,7 @@ namespace OpenRA.Mods.Common.Activities
if (IsCanceled && self.Location.Layer != CustomMovementLayerType.Tunnel)
return NextActivity;
if (mobile.IsTraitDisabled)
if (mobile.IsTraitDisabled || mobile.IsTraitPaused)
return this;
if (destination == mobile.ToCell)