maybe actually have mentors that aren't broke as shit (#5954)
This commit is contained in:
@@ -1,3 +1,24 @@
|
||||
/client/New()
|
||||
. = ..()
|
||||
mentor_datum_set()
|
||||
|
||||
/client/proc/citadel_client_procs(href_list)
|
||||
if(href_list["mentor_msg"])
|
||||
if(CONFIG_GET(flag/mentors_mobname_only))
|
||||
var/mob/M = locate(href_list["mentor_msg"])
|
||||
cmd_mentor_pm(M,null)
|
||||
else
|
||||
cmd_mentor_pm(href_list["mentor_msg"],null)
|
||||
return TRUE
|
||||
|
||||
//Mentor Follow
|
||||
if(href_list["mentor_follow"])
|
||||
var/mob/living/M = locate(href_list["mentor_follow"])
|
||||
|
||||
if(istype(M))
|
||||
mentor_follow(M)
|
||||
return TRUE
|
||||
|
||||
/client/proc/mentor_datum_set(admin)
|
||||
mentor_datum = GLOB.mentor_datums[ckey]
|
||||
if(!mentor_datum && check_rights_for(src, R_ADMIN,0)) // admin with no mentor datum?let's fix that
|
||||
|
||||
Reference in New Issue
Block a user