AGhost now un-aghosts you if you are already a ghost.

This commit is contained in:
Pieter-Jan Briers
2021-09-20 10:15:01 +02:00
parent 67e5b021d0
commit 00fbffcddf

View File

@@ -36,7 +36,7 @@ namespace Content.Server.Administration.Commands
if (mind.VisitingEntity != null && mind.VisitingEntity.HasComponent<GhostComponent>())
{
shell.WriteLine("Aren't you a ghost already?");
player.ContentData()!.Mind?.UnVisit();
return;
}