From 62637145c51be742499bfda82ea9a4e431ea4dcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mieszko=20J=C4=99drzejczak?= Date: Sat, 7 May 2016 17:18:46 +0200 Subject: [PATCH] *insert coherent commit description here* --- code/modules/clothing/masks/miscellaneous.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/modules/clothing/masks/miscellaneous.dm b/code/modules/clothing/masks/miscellaneous.dm index 831f785b917..e4c144a2af0 100644 --- a/code/modules/clothing/masks/miscellaneous.dm +++ b/code/modules/clothing/masks/miscellaneous.dm @@ -47,10 +47,9 @@ R.loc = T transfer_fingerprints_to(R) playsound(src,'sound/items/poster_ripped.ogg',40,1) - spawn(0) - qdel(src) + spawn(0) // Because of how dropping is done, if the muzzle gets deleted now, icons won't properly update and the whole unEquip() proc will break stuff. + qdel(src) // This makes sure it gets deleted AFTER all that has to be done is done. user.emote("scream") - user.update_inv_wear_mask() /obj/item/clothing/mask/surgical name = "sterile mask"