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

@@ -48,7 +48,7 @@ namespace OpenRA.Mods.Common.Activities
if (IsCanceled || target.Type == TargetType.Invalid)
return NextActivity;
if (mobile.IsTraitDisabled)
if (mobile.IsTraitDisabled || mobile.IsTraitPaused)
return this;
var currentPos = self.CenterPosition;