Aghosts can now /ghost (#29360)
I will not be subjected to criminal abuse
This commit is contained in:
@@ -226,7 +226,7 @@ namespace Content.Server.GameTicking
|
||||
return false;
|
||||
}
|
||||
|
||||
if (HasComp<GhostComponent>(playerEntity))
|
||||
if (TryComp<GhostComponent>(playerEntity, out var comp) && !comp.CanGhostInteract)
|
||||
return false;
|
||||
|
||||
if (mind.VisitingEntity != default)
|
||||
|
||||
Reference in New Issue
Block a user