allows view_runtimes to access the mc stuff easier (#22112)

* allows view_runtimes to access the mc stuff easier

* Update code/datums/statclick.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

---------

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
GDN
2023-08-28 07:03:44 -05:00
committed by GitHub
parent 7885da1c39
commit e1bbf54b77
+1 -1
View File
@@ -18,7 +18,7 @@ INITIALIZE_IMMEDIATE(/obj/effect/statclick)
var/class
/obj/effect/statclick/debug/Click()
if(!is_admin(usr) || !target)
if(!check_rights(R_DEBUG|R_VIEWRUNTIMES) || !target)
return
if(!class)
if(istype(target, /datum/controller/subsystem))