[MIRROR] fix a runtime in the keyloop (#9813)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-06 20:43:47 -07:00
committed by GitHub
parent 8822e9e9e1
commit 0144bf1e6e
3 changed files with 14 additions and 6 deletions

View File

@@ -579,10 +579,11 @@ emp_act
/mob/living/carbon/human/proc/bloody_hands(var/mob/living/source, var/amount = 2)
if (gloves)
gloves.add_blood(source)
gloves:transfer_blood = amount
gloves:bloody_hands_mob = source
if (istype(gloves, /obj/item/clothing/gloves))
var/obj/item/clothing/gloves/gl = gloves
gl.add_blood(source)
gl.transfer_blood = amount
gl.bloody_hands_mob = source
else
add_blood(source)
bloody_hands = amount