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

@@ -50,7 +50,7 @@ public abstract class SharedPortalSystem : EntitySystem
private void OnGetVerbs(EntityUid uid, PortalComponent component, GetVerbsEvent<AlternativeVerb> args)
{
// Traversal altverb for ghosts to use that bypasses normal functionality
if (!args.CanAccess || !HasComp<SharedGhostComponent>(args.User))
if (!args.CanAccess || !HasComp<GhostComponent>(args.User))
return;
// Don't use the verb with unlinked or with multi-output portals