Fix scram implant's teleportation out of containers (#24827)

* Fix scram teleportation out of containers

* re-run ci

* Use AttachToGridOrMap method

(cherry picked from commit d4434dbb5e586544a5dbd067a3fee4a6bd4e9e89)
This commit is contained in:
Kot 2024-02-08 03:41:11 +04:00 committed by Debug
parent de74e0faed
commit 2d684f3c1a
No known key found for this signature in database
GPG Key ID: 271270A74EF9C350
1 changed files with 1 additions and 0 deletions

View 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;