mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user