fixes borgs being able to send the ferry

This commit is contained in:
vuonojenmustaturska
2018-04-15 13:21:37 +03:00
committed by CitadelStationBot
parent 60a35c5270
commit afeae1e446

View File

@@ -6,7 +6,7 @@
possible_destinations = "ferry_home;ferry_away"
req_access = list(ACCESS_CENT_GENERAL)
var/aiControlDisabled = TRUE
var/allow_silicons = FALSE
var/allow_emag = FALSE
/obj/machinery/computer/shuttle/ferry/emag_act(mob/user)
@@ -16,7 +16,10 @@
return ..()
/obj/machinery/computer/shuttle/ferry/attack_ai()
return aiControlDisabled? FALSE : ..()
return allow_silicons ? ..() : FALSE
/obj/machinery/computer/shuttle/ferry/attack_robot()
return allow_silicons ? ..() : FALSE
/obj/machinery/computer/shuttle/ferry/request
name = "ferry console"