mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-06 07:22:15 +00:00
Cleanbots are now created unlocked.
Allows roboticist to set up cleanbots and if they patrol or not. Requires janitor access to lock them (Captain, HoP, Janitor) Should probably have a proc that checks you have either of the access listed but for now this fixes this minor problem.
This commit is contained in:
@@ -54,6 +54,8 @@
|
||||
src.botcard = new /obj/item/weapon/card/id(src)
|
||||
var/datum/job/janitor/J = new/datum/job/janitor
|
||||
src.botcard.access = J.get_access()
|
||||
|
||||
src.locked = 0 // Start unlocked so roboticist can set them to patrol.
|
||||
|
||||
if(radio_controller)
|
||||
radio_controller.add_object(src, beacon_freq, filter = RADIO_NAVBEACONS)
|
||||
|
||||
Reference in New Issue
Block a user