From 5c230d4e2a8acb3b1c4e487f40f715200ad875bb Mon Sep 17 00:00:00 2001 From: Erki Date: Mon, 12 Mar 2018 10:00:14 +0200 Subject: [PATCH] Fixes #4379 (#4390) --- code/modules/clothing/clothing.dm | 7 ++++--- code/modules/clothing/shoes/magboots.dm | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index 4d41132ad31..7e5c5094806 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -448,9 +448,10 @@ BLIND // can't see anything ..() update_wearer() -/obj/item/clothing/gloves/on_slotmove() - ..() - update_wearer() +/obj/item/clothing/gloves/mob_can_unequip() + . = ..() + if (.) + update_wearer() /////////////////////////////////////////////////////////////////////// //Head diff --git a/code/modules/clothing/shoes/magboots.dm b/code/modules/clothing/shoes/magboots.dm index 15132d8978d..8cb2405abbf 100644 --- a/code/modules/clothing/shoes/magboots.dm +++ b/code/modules/clothing/shoes/magboots.dm @@ -80,9 +80,10 @@ ..() update_wearer() -/obj/item/clothing/shoes/magboots/on_slotmove() - ..() - update_wearer() +/obj/item/clothing/shoes/magboots/mob_can_unequip() + . = ..() + if (.) + update_wearer() /obj/item/clothing/shoes/magboots/examine(mob/user) ..(user)