From: Kot <1192090+koteq@users.noreply.github.com> Date: Wed, 7 Feb 2024 23:41:11 +0000 (+0400) Subject: Fix scram implant's teleportation out of containers (#24827) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=d4434dbb5e586544a5dbd067a3fee4a6bd4e9e89;p=space-station-14.git Fix scram implant's teleportation out of containers (#24827) * Fix scram teleportation out of containers * re-run ci * Use AttachToGridOrMap method --- diff --git a/Content.Server/Implants/SubdermalImplantSystem.cs b/Content.Server/Implants/SubdermalImplantSystem.cs index 7f6f6fd045..ac415a0434 100644 --- a/Content.Server/Implants/SubdermalImplantSystem.cs +++ b/Content.Server/Implants/SubdermalImplantSystem.cs @@ -131,6 +131,7 @@ public sealed class SubdermalImplantSystem : SharedSubdermalImplantSystem break; } _xform.SetWorldPosition(ent, targetCoords.Position); + _xform.AttachToGridOrMap(ent, xform); _audio.PlayPvs(implant.TeleportSound, ent); args.Handled = true;