Rips out unnecessary relaymove call on set machines

Also removes a sanity check that is no longer necessary.
This commit is contained in:
Krausus
2015-08-11 22:40:37 -04:00
parent 7bf1e1ba74
commit bfc3961350
2 changed files with 0 additions and 6 deletions
-2
View File
@@ -160,8 +160,6 @@ obj/machinery/atmospherics/proc/check_connect_types_construction(obj/machinery/a
/obj/machinery/atmospherics/relaymove(mob/living/user, direction)
if(!(direction & initialize_directions)) //can't go in a way we aren't connecting to
return
if(user.machine == src) //temporary fix until we overhaul movement code
return
var/obj/machinery/atmospherics/target_move = findConnecting(direction)
if(target_move)
-4
View File
@@ -286,10 +286,6 @@
if(istype(mob.buckled, /obj/vehicle) || istype(mob.buckled, /obj/structure/stool/bed/chair/cart))
return mob.buckled.relaymove(mob,direct)
if(istype(mob.machine, /obj/machinery))
if(mob.machine.relaymove(mob,direct))
return
if(mob.pulledby || mob.buckled) // Wheelchair driving!
if(istype(mob.loc, /turf/space))
return // No wheelchair driving in space