diff --git a/code/modules/cargo/exports.dm b/code/modules/cargo/exports.dm index 171adc0e096..7996cc0f8fa 100644 --- a/code/modules/cargo/exports.dm +++ b/code/modules/cargo/exports.dm @@ -48,7 +48,7 @@ Then the player gets the profit from selling his own wasted time. ** ignore_typecache: typecache containing types that should be completely ignored */ /proc/export_item_and_contents(atom/movable/exported_atom, apply_elastic = TRUE, delete_unsold = TRUE, dry_run = FALSE, datum/export_report/external_report, list/ignore_typecache) - external_report = init_export() + external_report = init_export(external_report) var/list/contents = exported_atom.get_all_contents_ignoring(ignore_typecache) @@ -69,7 +69,7 @@ Then the player gets the profit from selling his own wasted time. /// It works like export_item_and_contents(), however it ignores the contents. Meaning only `exported_atom` will be valued. /proc/export_single_item(atom/movable/exported_atom, apply_elastic = TRUE, delete_unsold = TRUE, dry_run = FALSE, datum/export_report/external_report) - external_report = init_export() + external_report = init_export(external_report) var/sold = _export_loop(exported_atom, apply_elastic, dry_run, external_report) if(!dry_run && (sold || delete_unsold) && sold != EXPORT_SOLD_DONT_DELETE)