adjust Mobile so that it also can't double-add to uim
This commit is contained in:
@@ -289,12 +289,14 @@ namespace OpenRA.Mods.RA.Move
|
||||
|
||||
public void AddInfluence()
|
||||
{
|
||||
uim.Add( self, this );
|
||||
if( self.IsInWorld )
|
||||
uim.Add( self, this );
|
||||
}
|
||||
|
||||
public void RemoveInfluence()
|
||||
{
|
||||
uim.Remove( self, this );
|
||||
if( self.IsInWorld )
|
||||
uim.Remove( self, this );
|
||||
}
|
||||
|
||||
public void OnNudge(Actor self, Actor nudger)
|
||||
|
||||
Reference in New Issue
Block a user