- Fixes issue 744.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4431 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-08-16 04:17:11 +00:00
parent 8c91a3a06d
commit d908d6bf04
2 changed files with 10 additions and 3 deletions
+9 -2
View File
@@ -132,8 +132,15 @@
src.layer = OBJ_LAYER
if(buckled_mob)
buckled_mob.loc = src.loc
buckled_mob.dir = dir
if(buckled_mob.loc != src.loc)
buckled_mob.buckled = null //Temporary, so Move() succeeds.
if(!buckled_mob.Move(loc))
unbuckle()
buckled_mob = null
else
buckled_mob.buckled = src //Restoring
if(buckled_mob)
buckled_mob.dir = dir
/obj/structure/stool/bed/chair/verb/rotate()
set name = "Rotate Chair"