From 3d5ef0698634ac0505706549cc79f43fb1201156 Mon Sep 17 00:00:00 2001 From: alex-gh Date: Sat, 27 Oct 2018 01:41:19 +0200 Subject: [PATCH] Fixed roller beds not going to their "down" position. --- .../objects/structures/stool_bed_chair_nest/bed.dm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/code/game/objects/structures/stool_bed_chair_nest/bed.dm b/code/game/objects/structures/stool_bed_chair_nest/bed.dm index 52b8e76b11d..ddb29ee0566 100644 --- a/code/game/objects/structures/stool_bed_chair_nest/bed.dm +++ b/code/game/objects/structures/stool_bed_chair_nest/bed.dm @@ -80,11 +80,12 @@ density = TRUE icon_state = "up" M.pixel_y = initial(M.pixel_y) - else - density = FALSE - icon_state = "down" - M.pixel_x = M.get_standard_pixel_x_offset(M.lying) - M.pixel_y = M.get_standard_pixel_y_offset(M.lying) + +/obj/structure/bed/roller/post_unbuckle_mob(mob/living/M) + density = FALSE + icon_state = "down" + M.pixel_x = M.get_standard_pixel_x_offset(M.lying) + M.pixel_y = M.get_standard_pixel_y_offset(M.lying) /obj/item/roller name = "roller bed"