[MIRROR] mass refactor of holder checks (#11155)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-07-08 19:31:10 +02:00
committed by GitHub
co-authored by Kashargul
parent 54d0d16826
commit 7161a6c22e
60 changed files with 381 additions and 123 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ INITIALIZE_IMMEDIATE(/obj/effect/statclick)
var/class
/obj/effect/statclick/debug/Click()
if(!usr.client.holder || !target)
if(!check_rights_for(usr.client, R_HOLDER) || !target)
return
if(!class)
if(istype(target, /datum/controller/subsystem))