mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
fixes being able to hide in lockers to ignore weather effects (#20447)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user