mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user