Made Move::NotifyBlocker handle traits appropriately

This commit is contained in:
Ian T. Jacobsen
2014-02-05 02:18:12 +00:00
parent 91908c560d
commit 3c80024113
2 changed files with 3 additions and 6 deletions

View File

@@ -545,7 +545,8 @@ namespace OpenRA.Mods.RA.Move
public void OnNotifyBlockingMove(Actor self, Actor blocking)
{
Nudge(self, blocking, true);
if (self.IsIdle && self.AppearsFriendlyTo(blocking))
Nudge(self, blocking, true);
}
}
}