Being buckled to a bed now saves you from "the floor is lava" (#33204)

* Update floor_is_lava.dm

* Switcheroo

* )))))))))))))
This commit is contained in:
ExcessiveUseOfCobblestone
2017-12-03 14:16:34 -05:00
committed by CitadelStationBot
parent 6217206bae
commit 0df9db51f3
@@ -20,10 +20,11 @@
overlay_layer = ABOVE_OPEN_TURF_LAYER //Covers floors only
immunity_type = "lava"
/datum/weather/floor_is_lava/weather_act(mob/living/L)
for(var/obj/structure/O in L.loc)
if(O.density)
for(var/obj/structure/O in L.loc)
if(O.density || (L in O.buckled_mobs && istype(O, /obj/structure/bed)))
return
if(L.loc.density)
return