mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
[NO GBP] Mildly improves conflicting access helper logging (#94790)
The previous logging messages were copy pastes from eachother so this is fixing that, but I thought it was better to have more clear wording while I was here.
This commit is contained in:
@@ -5,14 +5,14 @@
|
||||
// These are mutually exclusive; can't have req_any and req_all
|
||||
/obj/effect/mapping_helpers/airlock/access/any/payload(obj/machinery/door/airlock/airlock)
|
||||
if(airlock.req_access != null)
|
||||
log_mapping("[src] at [AREACOORD(src)] tried to set req_one_access, but req_access was already set!")
|
||||
log_mapping("[src] access at [AREACOORD(src)] failed to apply (cannot mix any/all access helpers: all existed, any failed)")
|
||||
else
|
||||
var/list/access_list = get_access()
|
||||
airlock.req_one_access += access_list
|
||||
|
||||
/obj/effect/mapping_helpers/airlock/access/all/payload(obj/machinery/door/airlock/airlock)
|
||||
if(airlock.req_one_access != null)
|
||||
log_mapping("[src] at [AREACOORD(src)] tried to set req_one_access, but req_access was already set!")
|
||||
log_mapping("[src] access at [AREACOORD(src)] failed to apply (cannot mix any/all access helpers: any existed, all failed)")
|
||||
else
|
||||
var/list/access_list = get_access()
|
||||
airlock.req_access += access_list
|
||||
|
||||
Reference in New Issue
Block a user