Clean up nudging code.

This commit is contained in:
tovl
2019-09-19 00:09:46 +02:00
committed by teinarss
parent c4d1468f62
commit 38caadfdf0
7 changed files with 31 additions and 77 deletions

View File

@@ -56,7 +56,7 @@ namespace OpenRA.Mods.Common.Scripting
[Desc("Leave the current position in a random direction.")]
public void Scatter()
{
mobile.Nudge(Self, Self, true);
mobile.Nudge(Self);
}
[ScriptActorPropertyActivity]