Make ActorMap addition explicit.

This commit is contained in:
Paul Chote
2013-09-21 15:46:42 +12:00
parent 4a2a747556
commit b00cc6108d
8 changed files with 28 additions and 26 deletions

View File

@@ -160,11 +160,13 @@ namespace OpenRA.Mods.RA.Buildings
public void AddedToWorld(Actor self)
{
self.World.ActorMap.AddInfluence(self, this);
self.World.ScreenMap.Add(self);
}
public void RemovedFromWorld(Actor self)
{
self.World.ActorMap.RemoveInfluence(self, this);
self.World.ScreenMap.Remove(self);
}
}