From 72b2d9b436fac0e9c856f03e8f99b1503a36e16c Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Thu, 12 Apr 2018 02:35:33 -0700 Subject: [PATCH] floor is lava no longer hurts silicons (#37119) * floor is lava no longer hurts silicons * efficiency --- code/datums/weather/weather_types/floor_is_lava.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/datums/weather/weather_types/floor_is_lava.dm b/code/datums/weather/weather_types/floor_is_lava.dm index 66297a9bb8..5db27b9f6e 100644 --- a/code/datums/weather/weather_types/floor_is_lava.dm +++ b/code/datums/weather/weather_types/floor_is_lava.dm @@ -23,6 +23,8 @@ /datum/weather/floor_is_lava/weather_act(mob/living/L) + if(issilicon(L)) + return for(var/obj/structure/O in L.loc) if(O.density || (L in O.buckled_mobs && istype(O, /obj/structure/bed))) return