mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 14:52:35 +02:00
Fix FOV being broken when lighting is disabled.
This commit is contained in:
committed by
Acruid
parent
d0e537b8b9
commit
d9ae0efada
@@ -99,7 +99,10 @@ namespace Robust.Client.Graphics.Clyde
|
||||
|
||||
RenderOverlays(OverlaySpace.WorldSpace);
|
||||
|
||||
ApplyFovToBuffer(eye);
|
||||
if (_lightManager.Enabled && eye.DrawFov)
|
||||
{
|
||||
ApplyFovToBuffer(eye);
|
||||
}
|
||||
|
||||
_lightingReady = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user