[MIRROR] Player Ticket History - A Synopsis At A Glance [MDB IGNORE] (#21688)

* Player Ticket History - A Synopsis At A Glance

* fix

---------

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
Co-authored-by: ghost sheep <sheepwiththemask@gmail.com>
This commit is contained in:
SkyratBot
2023-06-07 15:42:44 +00:00
committed by GitHub
co-authored by Zephyr ghost sheep
parent 4f41c8dbfa
commit cfe6805e55
6 changed files with 453 additions and 4 deletions
+9
View File
@@ -1164,6 +1164,15 @@
return
M.mind_initialize()
else if(href_list["player_ticket_history"])
if(!check_rights(R_ADMIN))
return
var/target_ckey = href_list["player_ticket_history"]
GLOB.player_ticket_history.cache_history_for_ckey(target_ckey)
GLOB.player_ticket_history.user_selections[usr.ckey] = target_ckey
GLOB.player_ticket_history.ui_interact(usr)
return
else if(href_list["create_object"])
if(!check_rights(R_SPAWN))
return