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)