From e8abe8982006f3e051856a7c3486d074c93a0c12 Mon Sep 17 00:00:00 2001 From: Acruid Date: Thu, 30 Jul 2020 11:28:08 -0700 Subject: [PATCH] Changes aghost spawning to use map position instead of local grid position. --- Content.Server/Administration/AGhost.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Administration/AGhost.cs b/Content.Server/Administration/AGhost.cs index 3eff686aef..b84847c642 100644 --- a/Content.Server/Administration/AGhost.cs +++ b/Content.Server/Administration/AGhost.cs @@ -35,7 +35,7 @@ namespace Content.Server.Administration { var canReturn = mind.CurrentEntity != null && !mind.CurrentEntity.HasComponent(); var entityManager = IoCManager.Resolve(); - var ghost = entityManager.SpawnEntity("AdminObserver", player.AttachedEntity.Transform.GridPosition); + var ghost = entityManager.SpawnEntity("AdminObserver", player.AttachedEntity.Transform.MapPosition); if(canReturn) mind.Visit(ghost); else