# Z-Levels: Vehicle Debris spawns on wrong level

**URL:** https://discourse.cataclysmdda.org/t/z-levels-vehicle-debris-spawns-on-wrong-level/9707
**Category:** The Garage
**Created:** [May 30, 2015, 4:56pm UTC](https://discourse.cataclysmdda.org/t/z-levels-vehicle-debris-spawns-on-wrong-level/9707 "2015-05-30T16:56:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Nioca](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/nioca/32/331_2.png) [@Nioca](https://discourse.cataclysmdda.org/u/Nioca)
#### Post date: [May 30, 2015, 4:56pm UTC](https://discourse.cataclysmdda.org/t/z-levels-vehicle-debris-spawns-on-wrong-level/9707/1 "2015-05-30T16:56:36Z")

</div>

Experimental Build 0.C-3227, Commit ddc1f13, Experimental Z-Levels On.

I recently tried my hand at establishing an underground base for my survivor. I also was running the experimental Z-levels (very nice work, Coolthulu). Things went fairly well, but I noticed that when zombies would dogpile on a vehicle above ground and start dismantling it, the debris and assorted parts would spawn on the z-level I was currently on, rather than the z-level the vehicle was on. This kinda wrecked the game I was playing, because it basically meant free vehicle parts I didn’t really have to fight or scavenge for (plus tons of scrap metal and other assorted scrap to craft with).

---

<div class="post-metadata">

### Author: ![Coolthulhu](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/coolthulhu/32/2446_2.png) [@Coolthulhu](https://discourse.cataclysmdda.org/u/Coolthulhu)
#### Post date: [May 30, 2015, 5:24pm UTC](https://discourse.cataclysmdda.org/t/z-levels-vehicle-debris-spawns-on-wrong-level/9707/2 "2015-05-30T17:24:45Z")

</div>

I keep reminding myself to fix this bug, then I keep forgetting that it exists.  
You reminded me at the perfect time - I’m doing z-level bashing related stuff, so I’ll just include it in the PR I’m working on.
