Movement with wheelchair not possible in space

This commit is contained in:
Hubblenaut
2014-06-04 03:50:28 +02:00
committed by ZomgPonies
parent df5293770d
commit b5b5ce98ba
+2
View File
@@ -256,6 +256,8 @@
if(mob.pulledby || mob.buckled) // Wheelchair driving!
if(istype(mob.loc, /turf/space))
return // No wheelchair driving in space
if(istype(mob.pulledby, /obj/structure/stool/bed/chair/wheelchair))
return mob.pulledby.relaymove(mob, direct)
else if(istype(mob.buckled, /obj/structure/stool/bed/chair/wheelchair))