]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Revert "Fix scram implant's teleportation out of containers" (#25030)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sat, 30 Mar 2024 02:28:42 +0000 (13:28 +1100)
committerGitHub <noreply@github.com>
Sat, 30 Mar 2024 02:28:42 +0000 (13:28 +1100)
* Revert "Fix scram implant's teleportation out of containers (#24827)"

This reverts commit d4434dbb5e586544a5dbd067a3fee4a6bd4e9e89.

* Remove EntityQuery<T> pass-ins

Content.Server/Implants/SubdermalImplantSystem.cs

index 6b58f6eb0920dd1d3d373ae75c9e76ad75af19af..fd95720732b121c04ab92d6c4996c2b2b8d41ed3 100644 (file)
@@ -139,7 +139,6 @@ public sealed class SubdermalImplantSystem : SharedSubdermalImplantSystem
                 break;
         }
         _xform.SetWorldPosition(ent, targetCoords.Position);
-        _xform.AttachToGridOrMap(ent, xform);
         _audio.PlayPvs(implant.TeleportSound, ent);
 
         args.Handled = true;