People on DocCarts can pull rollerbeds

This commit is contained in:
ZomgPonies
2013-09-06 08:03:18 -04:00
parent 4f16c9f847
commit d342a1735c
2 changed files with 7 additions and 4 deletions
@@ -26,6 +26,13 @@
unbuckle()
if(istype(user.l_hand, /obj/item/key/ambulance) || istype(user.r_hand, /obj/item/key/ambulance))
step(src, direction)
// NEW PULLING CODE
if (istype(user.pulling, /obj/structure/stool/bed/roller))
var/turf/T = loc
step(user.pulling, get_dir(user.pulling.loc, T))
// END NEW PULLING CODE
update_mob()
handle_rotation()
else