Adds buttons for admins/mentors to see amount of open adminhelp/mentorhelp tickets. (#29498)

* wham

* fix
This commit is contained in:
Contrabang
2025-06-03 17:30:00 -04:00
committed by GitHub
parent 3fa3eb884c
commit d0170a11c6
9 changed files with 98 additions and 1 deletions
+3
View File
@@ -929,6 +929,9 @@ GLOBAL_LIST_INIT(view_runtimes_verbs, list(
log_admin("[key_name(usr)] re-adminned themselves.")
GLOB.de_admins -= ckey
GLOB.de_mentors -= ckey
if(istype(mob, /mob/dead/observer))
var/mob/dead/observer/O = mob
O.update_admin_actions()
SSblackbox.record_feedback("tally", "admin_verb", 1, "Re-admin")
return
else
+4 -1
View File
@@ -148,7 +148,10 @@ you will have to do something like if(client.holder.rights & R_ADMIN) yourself.
if(holder)
holder.disassociate()
qdel(holder)
return 1
if(istype(mob, /mob/dead/observer))
var/mob/dead/observer/O = mob
O.update_admin_actions()
return TRUE
//This proc checks whether subject has at least ONE of the rights specified in rights_required.
/proc/check_rights_for(client/subject, rights_required)