mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Merge pull request #2726 from MagmaRam/cryo_clone_fix
Fixes #2312. Shamelessly lifted from Arokha of Vorestation.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user