From 7505f5c886af109a6b90ffd3a361a0dd35328aed Mon Sep 17 00:00:00 2001 From: moxian Date: Tue, 21 Jun 2022 10:54:02 +0000 Subject: [PATCH] Fix unstable mutagen not working (#18020) --- code/modules/reagents/chemistry/reagents/toxins.dm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/code/modules/reagents/chemistry/reagents/toxins.dm b/code/modules/reagents/chemistry/reagents/toxins.dm index 425506e3345..83afdd5f1d6 100644 --- a/code/modules/reagents/chemistry/reagents/toxins.dm +++ b/code/modules/reagents/chemistry/reagents/toxins.dm @@ -179,9 +179,7 @@ taste_description = "slime" /datum/reagent/mutagen/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) - if(!..()) - return - if(!M.dna || HAS_TRAIT(M, TRAIT_BADDNA) || HAS_TRAIT(M, TRAIT_GENELESS)) + if(!M || !M.dna || HAS_TRAIT(M, TRAIT_BADDNA) || HAS_TRAIT(M, TRAIT_GENELESS)) return //No robots, AIs, aliens, Ians or other mobs should be affected by this. if((method==REAGENT_TOUCH && prob(33)) || method==REAGENT_INGEST) randmutb(M) @@ -1175,9 +1173,7 @@ taste_description = "slime" /datum/reagent/glowing_slurry/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) //same as mutagen - if(!..()) - return - if(!M.dna) + if(!M || !M.dna) return //No robots, AIs, aliens, Ians or other mobs should be affected by this. if((method==REAGENT_TOUCH && prob(50)) || method==REAGENT_INGEST) randmutb(M)