floor is lava no longer hurts silicons (#37119)
* floor is lava no longer hurts silicons * efficiency
This commit is contained in:
committed by
CitadelStationBot
parent
d8e3200d6c
commit
72b2d9b436
@@ -23,6 +23,8 @@
|
|||||||
|
|
||||||
|
|
||||||
/datum/weather/floor_is_lava/weather_act(mob/living/L)
|
/datum/weather/floor_is_lava/weather_act(mob/living/L)
|
||||||
|
if(issilicon(L))
|
||||||
|
return
|
||||||
for(var/obj/structure/O in L.loc)
|
for(var/obj/structure/O in L.loc)
|
||||||
if(O.density || (L in O.buckled_mobs && istype(O, /obj/structure/bed)))
|
if(O.density || (L in O.buckled_mobs && istype(O, /obj/structure/bed)))
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user