mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-29 08:11:11 +01:00
[MIRROR] jobs, access and radio to defines (#11546)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
b3ad80a7f9
commit
89704592dd
@@ -32,7 +32,7 @@
|
||||
return
|
||||
if(istype(W,/obj/item/card/id))
|
||||
var/obj/item/card/id/ID = W
|
||||
if(access_keycard_auth in ID.GetAccess())
|
||||
if(ACCESS_KEYCARD_AUTH in ID.GetAccess())
|
||||
if(active == 1)
|
||||
//This is not the device that made the initial request. It is the device confirming the request.
|
||||
if(event_source)
|
||||
@@ -198,6 +198,6 @@ var/global/maint_all_access = 0
|
||||
to_world(span_alert(span_red("The maintenance access requirement has been readded on all maintenance airlocks.")))
|
||||
|
||||
/obj/machinery/door/airlock/allowed(mob/M)
|
||||
if(maint_all_access && src.check_access_list(list(access_maint_tunnels)))
|
||||
if(maint_all_access && src.check_access_list(list(ACCESS_MAINT_TUNNELS)))
|
||||
return 1
|
||||
return ..(M)
|
||||
|
||||
Reference in New Issue
Block a user