find/replace "Game.world." -> "self.World." in all traits and activities.
This commit is contained in:
@@ -28,7 +28,7 @@ namespace OpenRa.Traits
|
||||
public IEnumerable<Renderable> Render(Actor self)
|
||||
{
|
||||
var uog = Game.controller.orderGenerator as UnitOrderGenerator;
|
||||
if (uog != null && self.Owner == Game.world.LocalPlayer && uog.selection.Contains(self))
|
||||
if (uog != null && self.Owner == self.World.LocalPlayer && uog.selection.Contains(self))
|
||||
yield return Util.Centered(self,
|
||||
anim.Image, Util.CenterOfCell(rallyPoint));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user