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:
@@ -131,6 +131,7 @@ public sealed class SubdermalImplantSystem : SharedSubdermalImplantSystem
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
_xform.SetWorldPosition(ent, targetCoords.Position);
|
_xform.SetWorldPosition(ent, targetCoords.Position);
|
||||||
|
_xform.AttachToGridOrMap(ent, xform);
|
||||||
_audio.PlayPvs(implant.TeleportSound, ent);
|
_audio.PlayPvs(implant.TeleportSound, ent);
|
||||||
|
|
||||||
args.Handled = true;
|
args.Handled = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user