Makes CC admin-only jobs check for R_EVENT instead of R_ADMIN, fixes some message spam for mentors that don't have enough access, fixes me fucking up and not checking for rights correctly in the telecomms reset verb.

This commit is contained in:
TheDZD
2016-07-25 19:40:55 -04:00
parent 235f248e12
commit c7f016a702
4 changed files with 4 additions and 7 deletions
@@ -374,7 +374,7 @@
var/list/valid_body_accessories = new()
for(var/B in body_accessory_by_name)
var/datum/body_accessory/A = body_accessory_by_name[B]
if(check_rights(R_ADMIN, 1, src))
if(check_rights(R_ADMIN, 0, src))
valid_body_accessories = body_accessory_by_name.Copy()
else
if(!istype(A))
+1 -1
View File
@@ -245,7 +245,7 @@
if(jobban_isbanned(src,rank)) return 0
if(!is_job_whitelisted(src, rank)) return 0
if(!job.player_old_enough(src.client)) return 0
if(job.admin_only && !(check_rights(R_ADMIN, 0))) return 0
if(job.admin_only && !(check_rights(R_EVENT, 0))) return 0
if(config.assistantlimit)
if(job.title == "Civilian")