Hide CashTicks under fog. Fixes #3664.
This commit is contained in:
@@ -44,6 +44,9 @@ namespace OpenRA.Mods.RA.Effects
|
||||
|
||||
public IEnumerable<IRenderable> Render(WorldRenderer wr)
|
||||
{
|
||||
if (wr.world.FogObscures(pos.ToCPos()))
|
||||
yield break;
|
||||
|
||||
yield return new TextRenderable(font, pos, 0, color, text);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user