Gurgled PDA ID floor drop fix, borgo belly edition

Fixes PDAs digested in sleeperbellies dropping their IDs on the floor.
This commit is contained in:
Verkister
2020-11-30 12:24:08 +02:00
committed by GitHub
parent 3c7a9557dd
commit 9ec68d6cc2
@@ -5,6 +5,10 @@
// Ye default implementation.
/obj/item/proc/digest_act(atom/movable/item_storage = null)
if(istype(item_storage, /obj/item/device/dogborg/sleeper))
if(istype(src, /obj/item/device/pda))
var/obj/item/device/pda/P = src
if(P.id)
P.id = null
for(var/obj/item/O in contents)
if(istype(O, /obj/item/weapon/storage/internal)) //Dump contents from dummy pockets.
for(var/obj/item/SO in O)