Admin Verb Datums MkIII | Now with functional command bar (#82511)

This commit is contained in:
Zephyr
2024-04-12 12:27:09 -07:00
committed by GitHub
parent e0d335b442
commit 7f8752be14
104 changed files with 1898 additions and 3287 deletions
+2 -4
View File
@@ -32,10 +32,8 @@ GLOBAL_REAL(logger, /datum/log_holder)
GENERAL_PROTECT_DATUM(/datum/log_holder)
/client/proc/log_viewer_new()
set name = "View Round Logs"
set category = "Admin"
logger.ui_interact(mob)
ADMIN_VERB(log_viewer_new, R_ADMIN|R_DEBUG, "View Round Logs", "View the rounds logs.", ADMIN_CATEGORY_MAIN)
logger.ui_interact(user.mob)
/datum/log_holder/ui_interact(mob/user, datum/tgui/ui)
if(!check_rights_for(user.client, R_ADMIN))