Stops AI and borgs from interfacing with ferry console

This commit is contained in:
Tofa01
2017-02-27 01:19:15 +11:00
parent d4625dbefb
commit cf5ca0b79a
+9
View File
@@ -5,6 +5,15 @@
possible_destinations = "ferry_home;ferry_away"
req_access = list(access_cent_general)
var/aiControlDisabled = 1
/obj/machinery/computer/shuttle/ferry/proc/canAIControl(mob/user)
return ((aiControlDisabled != 1));
/obj/machinery/computer/shuttle/ferry/attack_ai(mob/user)
if(!src.canAIControl(user))
return
/obj/machinery/computer/shuttle/ferry/request
name = "ferry console"
circuit = /obj/item/weapon/circuitboard/computer/ferry/request