Merge pull request #6721 from Citadel-Station-13/upstream-merge-37752

[MIRROR] (NOT TESTED YET) Fixes Bedbuckling to avoid Floor is Lava
This commit is contained in:
LetterJay
2018-05-13 03:30:15 -05:00
committed by GitHub

View File

@@ -25,8 +25,10 @@
/datum/weather/floor_is_lava/weather_act(mob/living/L)
if(issilicon(L))
return
if(istype(L.buckled, /obj/structure/bed))
return
for(var/obj/structure/O in L.loc)
if(O.density || (L in O.buckled_mobs && istype(O, /obj/structure/bed)))
if(O.density)
return
if(L.loc.density)
return