mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
[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:
committed by
GitHub
parent
4a84520147
commit
8c7c9d369d
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user