diff --git a/code/modules/mob/living/silicon/robot/drone/drone_console.dm b/code/modules/mob/living/silicon/robot/drone/drone_console.dm index e75aeead65..6fe2f8f27b 100644 --- a/code/modules/mob/living/silicon/robot/drone/drone_console.dm +++ b/code/modules/mob/living/silicon/robot/drone/drone_console.dm @@ -1,5 +1,5 @@ /obj/machinery/computer/drone_control - name = "Maintenance Drone Control" + name = "Drone Control" desc = "Used to monitor the station's drone population and the assembler that services them." icon_keyboard = "power_key" icon_screen = "generic" //VOREStation Edit @@ -11,6 +11,14 @@ //Used to enable or disable drone fabrication. var/obj/machinery/drone_fabricator/dronefab + +/obj/machinery/computer/drone_control/New() + ..() + for(var/obj/machinery/drone_fabricator/fab in oview(3,src)) + dronefab = fab + if(istype(dronefab, /obj/machinery/drone_fabricator/mining)) + req_access = list(access_mining) + /obj/machinery/computer/drone_control/attack_ai(var/mob/user as mob) return src.attack_hand(user) @@ -118,4 +126,4 @@ dronefab.produce_drones = !dronefab.produce_drones usr << "You [dronefab.produce_drones ? "enable" : "disable"] drone production in the nearby fabricator." - src.updateUsrDialog() \ No newline at end of file + src.updateUsrDialog()