From 2a05c9df24bcc148210a13e57af9c5fc0d4dc62f Mon Sep 17 00:00:00 2001 From: Hatterhat Date: Sat, 12 Dec 2020 21:25:17 -0600 Subject: [PATCH] mechs leave no wrecks on sell --- code/modules/cargo/exports.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/cargo/exports.dm b/code/modules/cargo/exports.dm index 671c22bde5..12a5002ac7 100644 --- a/code/modules/cargo/exports.dm +++ b/code/modules/cargo/exports.dm @@ -60,6 +60,9 @@ Credit dupes that require a lot of manual work shouldn't be removed, unless they if(!dry_run && (sold || delete_unsold)) if(ismob(thing)) thing.investigate_log("deleted through cargo export",INVESTIGATE_CARGO) + if(ismecha(thing)) + var/obj/mecha/mech = thing + mech.wreckage = null // why a mech left a wreck when sold i will never know qdel(thing) return report