mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 20:52:41 +00:00
[MIRROR] fix a runtime in the keyloop (#9813)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8822e9e9e1
commit
0144bf1e6e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user