Less visual issues.

This commit is contained in:
Ghommie
2019-10-29 04:58:24 +01:00
parent 9d17e63314
commit 85ba7943db
@@ -102,7 +102,8 @@
buckled_mob.setDir(direction)
/obj/structure/chair/proc/handle_layer()
if(has_buckled_mobs() && dir == NORTH)
. = has_buckled_mobs()
if(. && dir == NORTH)
layer = ABOVE_MOB_LAYER
else
layer = OBJ_LAYER
@@ -499,9 +500,15 @@
/obj/structure/chair/sofa/Initialize()
armrest = mutable_appearance(icon, "[icon_state]_armrest")
armrest.layer = ABOVE_MOB_LAYER
return ..()
/obj/structure/chair/sofa/handle_layer()
. = ..()
if(.)
armrest.layer = ABOVE_MOB_LAYER
else
armrest.layer = OBJ_LAYER
/obj/structure/chair/sofa/left
icon_state = "sofaend_left"