Files
GS13NG/code/modules/tgui/states/debug.dm
EmeraldSundisk 281d829fe6 Revert "uh what?"
This reverts commit 0efa9eb5e5.
2020-09-02 14:07:59 -07:00

7 lines
215 B
Plaintext

GLOBAL_DATUM_INIT(debug_state, /datum/ui_state/debug_state, new)
/datum/ui_state/debug_state/can_use_topic(src_object, mob/user)
if(check_rights_for(user.client, R_DEBUG))
return UI_INTERACTIVE
return UI_CLOSE