]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix scram implant's teleportation out of containers (#24827)
authorKot <1192090+koteq@users.noreply.github.com>
Wed, 7 Feb 2024 23:41:11 +0000 (03:41 +0400)
committerGitHub <noreply@github.com>
Wed, 7 Feb 2024 23:41:11 +0000 (16:41 -0700)
* Fix scram teleportation out of containers

* re-run ci

* Use AttachToGridOrMap method

Content.Server/Implants/SubdermalImplantSystem.cs

index 7f6f6fd04593a13091bb08c78dda40abd475fa5c..ac415a0434269c866740aa56e3f584761efe8b0f 100644 (file)
@@ -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;