Remove ghost compref (#19478)

This commit is contained in:
metalgearsloth
2023-08-25 18:50:46 +10:00
committed by GitHub
parent 7c4564adcc
commit 0b542098db
33 changed files with 191 additions and 211 deletions

View File

@@ -92,7 +92,7 @@ public abstract class SharedContentEyeSystem : EntitySystem
if (args.SenderSession.AttachedEntity is not { } player)
return;
if (!HasComp<SharedGhostComponent>(player) && !_admin.IsAdmin(player))
if (!HasComp<GhostComponent>(player) && !_admin.IsAdmin(player))
return;
if (TryComp<SharedEyeComponent>(player, out var eyeComp))