Merge pull request #4090 from Anewbe/custom_backpacks

Custom backpacks overwrite a worn backpack
This commit is contained in:
Neerti
2017-10-17 19:48:14 -04:00
committed by GitHub
@@ -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)