Remove some obsoleted transform methods/properties (#13457)

This commit is contained in:
Leon Friedrich
2023-01-14 13:48:48 +13:00
committed by GitHub
parent a98a80f938
commit 899549b770
5 changed files with 18 additions and 13 deletions

View File

@@ -233,7 +233,6 @@ namespace Content.Server.Salvage
return;
}
var parentTransform = salvageTransform.Parent!;
foreach (var player in Filter.Empty().AddInGrid(salvageTransform.GridUid.Value, EntityManager).Recipients)
{
if (player.AttachedEntity.HasValue)
@@ -244,7 +243,7 @@ namespace Content.Server.Salvage
// Salvage mobs are NEVER immune (even if they're from a different salvage, they shouldn't be here)
continue;
}
Transform(playerEntityUid).AttachParent(parentTransform);
Transform(playerEntityUid).AttachParent(salvageTransform.ParentUid);
}
}