From e1bbf54b776f304af0063cba19e4c548c797db00 Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Mon, 28 Aug 2023 07:03:44 -0500 Subject: [PATCH] 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> --- code/datums/statclick.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/statclick.dm b/code/datums/statclick.dm index 130c90ab394..4ee7a85fda7 100644 --- a/code/datums/statclick.dm +++ b/code/datums/statclick.dm @@ -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))