This commit is contained in:
Guti
2024-09-18 18:12:57 +02:00
parent f4f5476121
commit 06a46a237b
39 changed files with 143 additions and 143 deletions
+2 -2
View File
@@ -346,7 +346,7 @@
target.module_reset(FALSE)
if(MODIFIY_ROBOT_TOGGLE_STATION_ACCESS)
if(target?.idcard?.GetAccess())
var/obj/item/weapon/card/id/synthetic/card = target.idcard
var/obj/item/card/id/synthetic/card = target.idcard
if(access_synth in card.GetAccess())
card.access -= get_all_station_access()
card.access -= access_synth
@@ -357,7 +357,7 @@
to_chat(usr, "<span class='danger'>You grant station access to [target].</span>")
if(MODIFIY_ROBOT_TOGGLE_CENT_ACCESS)
if(target?.idcard?.GetAccess())
var/obj/item/weapon/card/id/synthetic/card = target.idcard
var/obj/item/card/id/synthetic/card = target.idcard
if(access_cent_specops in card.GetAccess())
card.access -= get_all_centcom_access()
to_chat(usr, "<span class='danger'>You revoke central access from [target].</span>")