Fix deployed units being nudgeable.
This commit is contained in:
@@ -296,7 +296,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
public void Nudge(Actor self, Actor nudger, bool force)
|
public void Nudge(Actor self, Actor nudger, bool force)
|
||||||
{
|
{
|
||||||
if (IsTraitDisabled || IsTraitPaused)
|
if (IsTraitDisabled || IsTraitPaused || requireForceMove)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Pick an adjacent available cell.
|
// Pick an adjacent available cell.
|
||||||
|
|||||||
Reference in New Issue
Block a user