[Please TM first] Fixes Admins not seeing Msay when deadminned (#234)

* AAAAAAAAAAAAAAAAAA

* Update mentor.dm

* Update mentor_clientprocs.dm (#5)

* Update mentorwho.dm

* Update mentorwho.dm
This commit is contained in:
John Willard
2021-06-20 17:33:04 -04:00
committed by GitHub
parent 78c8f0628b
commit 3787809a89
3 changed files with 5 additions and 6 deletions

View File

@@ -30,8 +30,6 @@ GLOBAL_PROTECT(mentor_href_token)
if(owner)
owner.mentor_datum = src
owner.add_mentor_verbs()
/// Don't add admins to mentor list.
if(!check_rights_for(owner, R_ADMIN,0))
GLOB.mentors += owner
/datum/mentors/proc/CheckMentorHREF(href, href_list)

View File

@@ -22,8 +22,6 @@
if(!mentor_datum && check_rights_for(src, R_ADMIN,0))
new /datum/mentors(ckey)
if(mentor_datum)
if(!check_rights_for(src, R_ADMIN,0) && !admin)
/// Don't add admins too.
GLOB.mentors |= src
mentor_datum.owner = src
add_mentor_verbs()

View File

@@ -23,6 +23,9 @@
continue
if(check_rights_for(C, R_ADMIN,0))
continue
// Dont show deadmined folk
if(GLOB.deadmins[ckey])
continue
if(C.mentor_datum?.is_contributor)
msg += "\t[C] is a Contributor\n"
else if(C.mentor_datum)