Fixes Odysseus buckled mob bug.

This commit is contained in:
Erthilo
2012-05-21 23:50:27 +01:00
parent c9bfde5d7a
commit 3f50c37609
+6
View File
@@ -985,6 +985,12 @@
occupant_message("<font color=\"red\"><B>The sleeper is already occupied!</B></font>")
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)
/*