mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
[MIRROR] Fixes Unstable Mutagen not mutating on exposure (#3162)
* fixes mutagen (#56683) * Fixes Unstable Mutagen not mutating on exposure Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
|
||||
/datum/reagent/toxin/mutagen/expose_mob(mob/living/carbon/exposed_mob, methods=TOUCH, reac_volume)
|
||||
. = ..()
|
||||
if(!. || !exposed_mob.has_dna() || HAS_TRAIT(exposed_mob, TRAIT_GENELESS) || HAS_TRAIT(exposed_mob, TRAIT_BADDNA))
|
||||
if(!exposed_mob.has_dna() || HAS_TRAIT(exposed_mob, TRAIT_GENELESS) || HAS_TRAIT(exposed_mob, TRAIT_BADDNA))
|
||||
return //No robots, AIs, aliens, Ians or other mobs should be affected by this.
|
||||
if(((methods & VAPOR) && prob(min(33, reac_volume))) || (methods & (INGEST|PATCH|INJECT)))
|
||||
exposed_mob.randmuti()
|
||||
|
||||
Reference in New Issue
Block a user