mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user