[MIRROR] Brainmobs that get reagents no longer runtime (#12826)

Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-06-20 02:24:19 -04:00
committed by GitHub
co-authored by Will
parent 19840ed8d6
commit 111dec19ed
+1 -1
View File
@@ -181,7 +181,7 @@
removed = min(removed, volume)
max_dose = max(volume, max_dose)
dose = min(dose + removed, max_dose)
if(M.species.medallergens & medallergen_type) // Medical allergies don't gain ANY benefits...
if(M.species && (M.species.medallergens & medallergen_type)) // Medical allergies don't gain ANY benefits...
M.add_chemical_effect(CE_ALLERGEN, allergen_factor * removed)
remove_self(removed)
return