Required admin privileges restrictions

Added a check to ranged LOOC to only broadcast them to active staff.

Added a check to the ahelp ticket panel to only allow active staff to view them.
This commit is contained in:
SatinIsle
2024-08-19 16:36:52 +01:00
parent a403a7c1b9
commit bfd2cc4c4d
3 changed files with 6 additions and 2 deletions
+2
View File
@@ -47,6 +47,8 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
//opens the ticket listings for one of the 3 states
/datum/admin_help_tickets/proc/BrowseTickets(state)
if(!check_rights(R_ADMIN|R_SERVER)) //Prevents non-staff from opening the list of ahelp tickets
return
var/list/l2b
var/title
switch(state)