Fixes interaction AI stuff

This commit is contained in:
kevinz000
2018-04-11 14:10:50 -05:00
committed by CitadelStationBot
parent 4063781baf
commit 9da197469b
7 changed files with 152 additions and 29 deletions
+1 -4
View File
@@ -268,10 +268,7 @@ GLOBAL_LIST_EMPTY(conveyors_by_id)
CHECK_TICK
// attack with hand, switch position
/obj/machinery/conveyor_switch/attack_hand(mob/user)
. = ..()
if(.)
return
/obj/machinery/conveyor_switch/interact(mob/user)
add_fingerprint(user)
if(position == 0)
if(convdir) //is it a oneway switch