mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 18:11:47 +00:00
[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:
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user