Ghost spring cleaning (#36194)
* Ghost warnings cleanup * Undo incorrect changes * Removing whitespace
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user