From f604011f196425f8caba9c2d03faa580de18e634 Mon Sep 17 00:00:00 2001 From: endipe <170849376+endipe@users.noreply.github.com> Date: Sun, 18 Aug 2024 08:15:23 +0300 Subject: [PATCH] bugfix: correct removal of gloves (#5735) fix --- code/modules/clothing/clothing.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index bde8f9308d7..2065677a176 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -324,6 +324,8 @@ BLIND // can't see anything /obj/item/clothing/gloves/dropped(mob/living/carbon/human/user, slot, silent = FALSE) . = ..() + if(!ishuman(user) || slot != ITEM_SLOT_GLOVES) + return . if(surgeryspeedmod) user.remove_actionspeed_modifier(/datum/actionspeed_modifier/surgical_gloves) if(toolspeedmod)