From 3f50c376093d76cd2b2dc635e2ce66d162c5128b Mon Sep 17 00:00:00 2001 From: Erthilo Date: Mon, 21 May 2012 23:50:27 +0100 Subject: [PATCH] Fixes Odysseus buckled mob bug. --- code/game/mecha/equipment/tools/tools.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/game/mecha/equipment/tools/tools.dm b/code/game/mecha/equipment/tools/tools.dm index 21d019eec23..179cd718f07 100644 --- a/code/game/mecha/equipment/tools/tools.dm +++ b/code/game/mecha/equipment/tools/tools.dm @@ -985,6 +985,12 @@ occupant_message("The sleeper is already occupied!") return target.forceMove(src) + if(target.buckled) + var/obj/structure/stool/bed/S = target.buckled + target.buckled = null + target.anchored = 0 + target.lying = 0 + S.buckled_mob = null occupant = target target.reset_view(src) /*