Lyodsuit Hoodie Fix (#9598)

This commit is contained in:
Geeves
2020-08-05 11:11:32 +02:00
committed by GitHub
parent 25d280c96b
commit 7c8a61103c
3 changed files with 9 additions and 0 deletions
@@ -181,6 +181,7 @@
/obj/item/clothing/under/dominia/lyodsuit/hoodie/proc/create_mask()
if(!mask)
mask = new /obj/item/clothing/mask/lyodsuit(src)
item_state = "dom_thermal"
/obj/item/clothing/under/dominia/lyodsuit/hoodie/proc/remove_mask()
// Mask got nuked. Probably because of RIGs or the like.
@@ -189,6 +190,8 @@
if(ishuman(mask.loc))
var/mob/living/carbon/H = mask.loc
H.unEquip(mask, 1)
item_state = initial(item_state)
H.update_inv_w_uniform()
mask.forceMove(src)
hood_raised = FALSE
@@ -0,0 +1,6 @@
author: Geeves
delete-after: True
changes:
- bugfix: "Lyodsuits now lose their hoodie sprite when their mask is up, preventing a visual duplication."
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB