Moves get_area to a macro (#24712)

* Moves get_area to a macro

* fixes

* Update code/game/machinery/camera/camera.dm

Co-authored-by: Charlie Nolan <funnyman3595@gmail.com>

* runtime fix

* moer fix

---------

Co-authored-by: Charlie Nolan <funnyman3595@gmail.com>
This commit is contained in:
GDN
2024-04-08 16:42:22 -05:00
committed by GitHub
parent 744d9c6bed
commit b6be540b43
18 changed files with 72 additions and 60 deletions
+1 -1
View File
@@ -110,7 +110,7 @@
/datum/weather/proc/can_weather_act(mob/living/L) //Can this weather impact a mob?
var/turf/mob_turf = get_turf(L)
if(!istype(L))
if(!istype(L) || !mob_turf)
return FALSE
if(mob_turf && !(mob_turf.z in impacted_z_levels))
return FALSE