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

* Fix scram teleportation out of containers

* re-run ci

* Use AttachToGridOrMap method
This commit is contained in:
Kot
2024-02-08 03:41:11 +04:00
committed by GitHub
parent 9cee54e5a1
commit d4434dbb5e

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;