Skip to content

Commit

Permalink
bugfix: correct removal of gloves (#5735)
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
endipe authored Aug 18, 2024
1 parent f15f0df commit f604011
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/clothing/clothing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f604011

Please sign in to comment.