[FIX]Plant DNA manipulator now drops seed and disks on destruction (#26156)

* The Plant DNA manipulator now drops disks and seed upon destruction, rather than deleting them

* Update code/modules/hydroponics/gene_modder.dm

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
Signed-off-by: Migratingcocofruit <69551563+Migratingcocofruit@users.noreply.github.com>

---------

Signed-off-by: Migratingcocofruit <69551563+Migratingcocofruit@users.noreply.github.com>
Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
Migratingcocofruit
2024-07-12 09:58:10 -07:00
committed by GitHub
parent 4a84520147
commit 8c7c9d369d
+4 -2
View File
@@ -58,12 +58,14 @@
RefreshParts()
/obj/machinery/plantgenes/Destroy()
for(var/atom/movable/A in contents)
A.forceMove(loc)
seed = null
disk = null
core_genes.Cut()
reagent_genes.Cut()
trait_genes.Cut()
target = null
QDEL_NULL(seed)
QDEL_NULL(disk)
return ..()
/obj/machinery/plantgenes/RefreshParts() // Comments represent the max you can set per tier, respectively. seeds.dm [219] clamps these for us but we don't want to mislead the viewer.