actual tgui code

This commit is contained in:
Letter N
2020-08-17 21:07:09 +08:00
parent 610e25beb7
commit 55bd3ecc26
9 changed files with 507 additions and 50 deletions
+6
View File
@@ -0,0 +1,6 @@
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