Fix deployed units being nudgeable.

This commit is contained in:
tovl
2019-09-16 22:48:40 +02:00
committed by teinarss
parent 61aaac888b
commit ed7667683b

View File

@@ -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.