Merge pull request #2726 from MagmaRam/cryo_clone_fix

Fixes #2312. Shamelessly lifted from Arokha of Vorestation.
This commit is contained in:
Anewbe
2016-11-11 18:57:23 -06:00
committed by GitHub

View File

@@ -410,6 +410,13 @@
preserve = 1
break
if(istype(W,/obj/item/weapon/implant/health))
for(var/obj/machinery/computer/cloning/com in world)
for(var/datum/dna2/record/R in com.records)
if(R.implant == W)
qdel(R)
qdel(W)
if(!preserve)
qdel(W)
else