Skip to content

Commit

Permalink
Update Content.Client/Shadowkin/ShadowkinSystem.cs
Browse files Browse the repository at this point in the history
Co-authored-by: VMSolidus <evilexecutive@gmail.com>
Signed-off-by: FoxxoTrystan <45297731+FoxxoTrystan@users.noreply.github.com>
  • Loading branch information
FoxxoTrystan and VMSolidus authored Oct 9, 2024
1 parent 3503a69 commit 9f22491
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Content.Client/Shadowkin/ShadowkinSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ public override void Initialize()

private void OnInit(EntityUid uid, ShadowkinComponent component, ComponentInit args)
{
if (uid != _playerMan.LocalEntity)
if (uid != _playerMan.LocalEntity
|| _cfg.GetCVar(CCVars.NoVisionFilters))
return;

if (!_cfg.GetCVar(CCVars.NoVisionFilters))
_overlayMan.AddOverlay(_overlay);
_overlayMan.AddOverlay(_overlay);
}

private void Onhutdown(EntityUid uid, ShadowkinComponent component, ComponentShutdown args)
Expand Down

0 comments on commit 9f22491

Please sign in to comment.