Exporting mechs! (#28749)

* exporting mechs

* remove null

* do the thing the maintainer wants

* non-snowflek

* Minor thing
This commit is contained in:
RandomMarine
2017-06-25 09:34:09 -07:00
committed by Jordan Brown
parent 94effbd25f
commit bdd54531c8
4 changed files with 82 additions and 6 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ GLOBAL_LIST_INIT(blacklisted_cargo_types, typecacheof(list(
var/sold_atoms = ""
for(var/atom/movable/AM in areaInstance)
if(AM.anchored)
if(AM.anchored && !istype(AM, /obj/mecha))
continue
sold_atoms += export_item_and_contents(AM, contraband, emagged, dry_run = FALSE)