From ed7667683b787134658a79edcd66014fa69cc969 Mon Sep 17 00:00:00 2001 From: tovl Date: Mon, 16 Sep 2019 22:48:40 +0200 Subject: [PATCH] Fix deployed units being nudgeable. --- OpenRA.Mods.Common/Traits/Mobile.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/Mobile.cs b/OpenRA.Mods.Common/Traits/Mobile.cs index f7c7aaa163..a16ec3556d 100644 --- a/OpenRA.Mods.Common/Traits/Mobile.cs +++ b/OpenRA.Mods.Common/Traits/Mobile.cs @@ -296,7 +296,7 @@ namespace OpenRA.Mods.Common.Traits public void Nudge(Actor self, Actor nudger, bool force) { - if (IsTraitDisabled || IsTraitPaused) + if (IsTraitDisabled || IsTraitPaused || requireForceMove) return; // Pick an adjacent available cell.