fixes being able to hide in lockers to ignore weather effects (#20447)

This commit is contained in:
Ergovisavi
2016-09-13 08:13:23 -05:00
committed by KorPhaeron
parent 8da1734ee8
commit bf68906d27
+2 -1
View File
@@ -109,7 +109,8 @@
update_areas()
/datum/weather/proc/can_impact(mob/living/L) //Can this weather impact a mob?
if(L.z != target_z)
var/turf/mob_turf = get_turf(L)
if(mob_turf.z != target_z)
return
if(immunity_type in L.weather_immunities)
return