Tightens the permissions on debug, DI panel, view variables

This commit is contained in:
Crazylemon64
2017-01-08 22:51:38 -08:00
parent cb328a1742
commit ade630f864
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
// This bit is called when clicked in the stat panel
/obj/effect/statclick/debug/Click()
if(!usr.client.holder)
if(!is_admin(usr))
return
usr.client.debug_variables(target)