diff --git a/code/modules/reagents/reagents/_reagents.dm b/code/modules/reagents/reagents/_reagents.dm index 084adf5a1e..0c756bf9d8 100644 --- a/code/modules/reagents/reagents/_reagents.dm +++ b/code/modules/reagents/reagents/_reagents.dm @@ -177,18 +177,17 @@ removed = min(removed, volume) max_dose = max(volume, max_dose) dose = min(dose + removed, max_dose) - if(removed >= (metabolism * 0.1) || removed >= 0.1) // If there's too little chemical, don't affect the mob, just remove it - switch(active_metab.metabolism_class) - if(CHEM_BLOOD) - affect_blood(M, alien, removed) - if(CHEM_INGEST) - if(istype(src, /datum/reagent/toxin) && HAS_TRAIT(M, INGESTED_TOXIN_IMMUNE)) - remove_self(removed) - return - affect_ingest(M, alien, removed * ingest_abs_mult) - if(CHEM_TOUCH) - affect_touch(M, alien, removed) - if(overdose && (volume > overdose * M?.species?.chemOD_threshold) && (active_metab.metabolism_class != CHEM_TOUCH || can_overdose_touch)) //CHOMPEdit + switch(active_metab.metabolism_class) + if(CHEM_BLOOD) + affect_blood(M, alien, removed) + if(CHEM_INGEST) + if(istype(src, /datum/reagent/toxin) && HAS_TRAIT(M, INGESTED_TOXIN_IMMUNE)) + remove_self(removed) + return + affect_ingest(M, alien, removed * ingest_abs_mult) + if(CHEM_TOUCH) + affect_touch(M, alien, removed) + if(overdose && (volume > overdose * M?.species?.chemOD_threshold) && (active_metab.metabolism_class != CHEM_TOUCH || can_overdose_touch)) // CHOMPEdit overdose(M, alien, removed) if(M.species?.allergens & allergen_type) //uhoh, we can't handle this! //CHOMPEdit M.add_chemical_effect(CE_ALLERGEN, allergen_factor * removed)