From fcce3a3b58e63a85aec2b5b65ebf903448219081 Mon Sep 17 00:00:00 2001 From: Anewbe Date: Mon, 16 Oct 2017 23:42:23 -0500 Subject: [PATCH] Custom backpacks overwrite a worn backpack --- code/modules/customitems/item_spawning.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/customitems/item_spawning.dm b/code/modules/customitems/item_spawning.dm index 54c3ee4e5c..ef2333a0af 100644 --- a/code/modules/customitems/item_spawning.dm +++ b/code/modules/customitems/item_spawning.dm @@ -222,6 +222,8 @@ existing_item = M.wear_id else if(citem.item_path == /obj/item/device/pda) existing_item = locate(/obj/item/device/pda) in M.contents + else if(citem.item_path == /obj/item/weapon/storage/backpack) + existing_item = locate(/obj/item/weapon/storage/backpack) in M.contents // Spawn and equip the item. if(existing_item)