Use already cached mobile in MobileProperties.Scatter
This commit is contained in:
@@ -53,7 +53,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
[Desc("Leave the current position in a random direction.")]
|
||||
public void Scatter()
|
||||
{
|
||||
Self.Trait<Mobile>().Nudge(Self, Self, true);
|
||||
mobile.Nudge(Self, Self, true);
|
||||
}
|
||||
|
||||
[ScriptActorPropertyActivity]
|
||||
|
||||
Reference in New Issue
Block a user