Makes the janitor cart pushable (#6956)

Makes the janitor cart pushable by shamelessly copying from wheelchair code.

As suggested here https://forums.aurorastation.org/topic/12726-push-the-janicart/
This commit is contained in:
fernerr
2019-09-13 22:01:35 +03:00
committed by Erki
parent b4eb54460b
commit 22557cab7d
4 changed files with 128 additions and 2 deletions
+1 -1
View File
@@ -319,7 +319,7 @@
//Wheelchair pushing goes here for now.
//TODO: Fuck wheelchairs.
if(istype(mob.pulledby, /obj/structure/bed/chair/wheelchair))
if(istype(mob.pulledby, /obj/structure/bed/chair/wheelchair) || istype(mob.pulledby, /obj/structure/janitorialcart))
move_delay += 1
return mob.pulledby.relaymove(mob, direct)