mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
[MIRROR] Restricts ahelp ticket view (#9420)
Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
650942727b
commit
f7fa760102
@@ -173,6 +173,10 @@ SUBSYSTEM_DEF(statpanels)
|
|||||||
target.stat_panel.send_message("update_examine", examine_update)
|
target.stat_panel.send_message("update_examine", examine_update)
|
||||||
|
|
||||||
/datum/controller/subsystem/statpanels/proc/set_tickets_tab(client/target)
|
/datum/controller/subsystem/statpanels/proc/set_tickets_tab(client/target)
|
||||||
|
/* CHOMPRemove Start, our tickets are handled differently
|
||||||
|
var/list/tickets = list()
|
||||||
|
if(check_rights(R_ADMIN|R_SERVER|R_MOD,FALSE,target)) //Prevents non-staff from opening the list of ahelp tickets
|
||||||
|
*/// CHOMPRemove End
|
||||||
var/list/tickets = GLOB.tickets.stat_entry(target) // CHOMPEdit
|
var/list/tickets = GLOB.tickets.stat_entry(target) // CHOMPEdit
|
||||||
target.stat_panel.send_message("update_tickets", tickets)
|
target.stat_panel.send_message("update_tickets", tickets)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user