(SQ-Merge) Makes rads not kill people in stomachs (#3342)

* Makes rads not kill people in stomachs

* There we go

* Update radiation.dm
This commit is contained in:
Cameron653
2018-03-25 15:32:32 -04:00
committed by Aronai Sieyes
parent be17090547
commit 1eba6dda56

View File

@@ -132,7 +132,7 @@ var/global/repository/radiation/radiation_repository = new()
return 1
/mob/living/rad_act(var/severity)
if(severity)
if(severity && !isbelly(loc)) //eaten mobs are made immune to radiation //VOREStation Edit Start
src.apply_effect(severity, IRRADIATE, src.getarmor(null, "rad"))
for(var/atom/I in src)
I.rad_act(severity)
I.rad_act(severity) ///VOREStation Edit End