mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] mass refactor of holder checks (#11155)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
54d0d16826
commit
7161a6c22e
@@ -623,7 +623,7 @@
|
||||
var/mob/living/carbon/human/Tar = target
|
||||
if(!istype(Tar))
|
||||
return
|
||||
if(!user.client.holder)
|
||||
if(!check_rights_for(user.client, R_HOLDER))
|
||||
return
|
||||
var/obj/item/X = user.client.holder.marked_datum
|
||||
if(!istype(X))
|
||||
@@ -634,7 +634,7 @@
|
||||
var/mob/living/carbon/human/Tar = target
|
||||
if(!istype(Tar))
|
||||
return
|
||||
if(!user.client.holder)
|
||||
if(!check_rights_for(user.client, R_HOLDER))
|
||||
return
|
||||
var/obj/item/X = user.client.holder.marked_datum
|
||||
if(!istype(X))
|
||||
|
||||
Reference in New Issue
Block a user