From d9ae0efada2bbcc664f73ed91bedd25f9275c627 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Wed, 26 Feb 2020 16:49:03 +0100 Subject: [PATCH] Fix FOV being broken when lighting is disabled. --- Robust.Client/Graphics/Clyde/Clyde.HLR.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Robust.Client/Graphics/Clyde/Clyde.HLR.cs b/Robust.Client/Graphics/Clyde/Clyde.HLR.cs index ba9b711a6a..39cfd39c19 100644 --- a/Robust.Client/Graphics/Clyde/Clyde.HLR.cs +++ b/Robust.Client/Graphics/Clyde/Clyde.HLR.cs @@ -99,7 +99,10 @@ namespace Robust.Client.Graphics.Clyde RenderOverlays(OverlaySpace.WorldSpace); - ApplyFovToBuffer(eye); + if (_lightManager.Enabled && eye.DrawFov) + { + ApplyFovToBuffer(eye); + } _lightingReady = false;