Merge pull request #6787 from Citadel-Station-13/upstream-merge-37875

[MIRROR] Fixes radimmune mobs being killed by high bursts of radiation
This commit is contained in:
LetterJay
2018-05-19 09:11:08 -05:00
committed by GitHub
+1 -1
View File
@@ -941,7 +941,7 @@
/mob/living/rad_act(amount)
. = ..()
if(!amount || amount < RAD_MOB_SKIN_PROTECTION)
if(!amount || (amount < RAD_MOB_SKIN_PROTECTION) || has_trait(TRAIT_RADIMMUNE))
return
amount -= RAD_BACKGROUND_RADIATION // This will always be at least 1 because of how skin protection is calculated