# \[BUGFIX\] Prevent cloning grid when we shouldn't (vehicle teleport)

**URL:** <https://discourse.cataclysmdda.org/t/bugfix-prevent-cloning-grid-when-we-shouldnt-vehicle-teleport/3961>\
**Category:** The Lab\
**Created:** [November 13, 2013, 5:38am UTC](https://discourse.cataclysmdda.org/t/bugfix-prevent-cloning-grid-when-we-shouldnt-vehicle-teleport/3961 "2013-11-13T05:38:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![freezerbunny](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/freezerbunny/32/219_2.png) [@freezerbunny](https://discourse.cataclysmdda.org/u/freezerbunny)\
**Post date:** [November 13, 2013, 5:38am UTC](https://discourse.cataclysmdda.org/t/bugfix-prevent-cloning-grid-when-we-shouldnt-vehicle-teleport/3961/1 "2013-11-13T05:38:02Z")

</div>

[#4326](https://github.com/CleverRaven/Cataclysm-DDA/pull/4326)

Fixes vehicle teleportation and item/map dupe when we change overmap.

Near the map border, the game was cloning the current submap to a new location when it shouldn’t.

This caused the vehicle to be moved (player “teleports” out), and all items + terrain to be duped.
