From 7e29edf6e328a63dda1fd5fa1b8545f9ef0d54b9 Mon Sep 17 00:00:00 2001 From: CHOMPStation2StaffMirrorBot <94713762+CHOMPStation2StaffMirrorBot@users.noreply.github.com> Date: Mon, 2 Mar 2026 13:36:39 -0700 Subject: [PATCH] [MIRROR] fix equipment vendors (#12473) Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> --- .../mining/ore_redemption_machine/equipment_vendor.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/modules/mining/ore_redemption_machine/equipment_vendor.dm b/code/modules/mining/ore_redemption_machine/equipment_vendor.dm index f27f457739..20b0571be1 100644 --- a/code/modules/mining/ore_redemption_machine/equipment_vendor.dm +++ b/code/modules/mining/ore_redemption_machine/equipment_vendor.dm @@ -26,7 +26,8 @@ inserted_id = null else QDEL_NULL(inserted_id) - QDEL_NULL_LIST(prize_list) + for(var/key, value in prize_list) + QDEL_NULL_LIST(value) . = ..() /datum/data/mining_equipment @@ -275,7 +276,8 @@ remove_points(inserted_id, prize.cost) var/obj/item/I = new prize.equipment_path(loc) - I.persist_storable = FALSE + if(isitem(I)) + I.persist_storable = FALSE flick(icon_vend, src) else flick(icon_deny, src)