Merge pull request #13764 from Hatterhat/mech-sell
mechs leave no wrecks when sold on cargo shuttle
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user