Fixes radimmune mobs being killed by radiation (#37875)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user