GOODBYE TECHDEBT (#24408)

This commit is contained in:
Contrabang
2024-03-11 15:09:44 -04:00
committed by GitHub
parent cfda70503b
commit ae202e22b5
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -630,8 +630,7 @@
assignment = "Captain"
/obj/item/card/id/captains_spare/New()
var/datum/job/captain/J = new/datum/job/captain
access = J.get_access()
access = get_all_accesses()
..()
/obj/item/card/id/admin
@@ -638,8 +638,7 @@ Pass a positive integer as an argument to override a bot's default speed.
bot_reset() // Reset a bot before setting it to call mode.
var/area/end_area = get_area(waypoint)
var/datum/job/captain/All = new/datum/job/captain
access_card.access = All.get_access() // Give the bot temporary all access
access_card.access = get_all_accesses() // Give the bot temporary all access
set_path(get_path_to(src, waypoint, 200, id = access_card))
calling_ai = caller // Link the AI to the bot!