mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-28 11:11:52 +00:00
* Handlers converted, now to fix 3532 compile errors * 3532 compile fixes later, got runtimes on startup * Well the server loads now atleast * Take 2 * Oops
8 lines
286 B
Plaintext
8 lines
286 B
Plaintext
/*
|
|
This state checks that the user is an admin, end of story
|
|
*/
|
|
GLOBAL_DATUM_INIT(admin_state, /datum/topic_state/admin_state, new())
|
|
|
|
/datum/topic_state/admin_state/can_use_topic(var/src_object, var/mob/user)
|
|
return check_rights(R_ADMIN, 0, user) ? STATUS_INTERACTIVE : STATUS_CLOSE
|