* auto doggy

* fix

* fix
This commit is contained in:
Ed
2025-03-09 23:29:20 +03:00
committed by GitHub
parent 759260c2ba
commit 66058ffc49
9 changed files with 105 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
using Content.Shared._CP14.Configuration;
using System.Numerics;
using Content.Shared.CCVar;
using Robust.Client.Graphics;
using Robust.Client.Player;
using Robust.Shared.Configuration;
@@ -32,7 +32,7 @@ public sealed class CP14BasePostProcessOverlay : Overlay
protected override bool BeforeDraw(in OverlayDrawArgs args)
{
if (!_configManager.GetCVar(CP14ConfigVars.PostProcess))
if (!_configManager.GetCVar(CCVars.PostProcess))
return false;
if (!_entityManager.TryGetComponent(_playerManager.LocalSession?.AttachedEntity, out EyeComponent? eyeComp))
@@ -74,4 +74,4 @@ public sealed class CP14BasePostProcessOverlay : Overlay
worldHandle.DrawRect(viewport, Color.White);
worldHandle.UseShader(null);
}
}
}