StyleCop clean OpenRA.Game
This commit is contained in:
@@ -26,7 +26,7 @@ namespace OpenRA.Mods.RA.Effects
|
||||
|
||||
public object Create(ActorInitializer init)
|
||||
{
|
||||
return new GpsDot(init.self, this);
|
||||
return new GpsDot(init.Self, this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
2
OpenRA.Mods.RA/Effects/RepairIndicator.cs
Executable file → Normal file
2
OpenRA.Mods.RA/Effects/RepairIndicator.cs
Executable file → Normal file
@@ -47,7 +47,7 @@ namespace OpenRA.Mods.RA.Effects
|
||||
|
||||
public IEnumerable<IRenderable> Render(WorldRenderer wr)
|
||||
{
|
||||
if (building.Destroyed || wr.world.FogObscures(building) || rb.Repairers.Count == 0)
|
||||
if (building.Destroyed || wr.World.FogObscures(building) || rb.Repairers.Count == 0)
|
||||
return SpriteRenderable.None;
|
||||
|
||||
var palette = wr.Palette(palettePrefix + rb.Repairers[shownPlayer % rb.Repairers.Count].InternalName);
|
||||
|
||||
Reference in New Issue
Block a user