From 22639a3cdf4d4194167053c6008ce3e692c89b06 Mon Sep 17 00:00:00 2001 From: J Date: Mon, 14 Apr 2025 20:12:04 +0000 Subject: [PATCH] Ghost spring cleaning (#36194) * Ghost warnings cleanup * Undo incorrect changes * Removing whitespace --- Content.Server/Ghost/GhostSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Ghost/GhostSystem.cs b/Content.Server/Ghost/GhostSystem.cs index 435584e908..df4d998128 100644 --- a/Content.Server/Ghost/GhostSystem.cs +++ b/Content.Server/Ghost/GhostSystem.cs @@ -442,7 +442,7 @@ namespace Content.Server.Ghost if (spawnPosition?.IsValid(EntityManager) != true) return false; - var mapUid = spawnPosition?.GetMapUid(EntityManager); + var mapUid = _transformSystem.GetMap(spawnPosition.Value); var gridUid = spawnPosition?.EntityId; // Test if the map is being deleted if (mapUid == null || TerminatingOrDeleted(mapUid.Value)) -- 2.51.2