From cc60b936b813c423858212afbb639bf4811c36a7 Mon Sep 17 00:00:00 2001 From: SierraKomodo <11140088+SierraKomodo@users.noreply.github.com> Date: Sun, 7 Jan 2024 22:22:40 +0300 Subject: [PATCH] [MIRROR] Fix energy shield icons not updating when disabled --- code/game/objects/items/weapons/shields.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/objects/items/weapons/shields.dm b/code/game/objects/items/weapons/shields.dm index c971366249516..64e1703538d3c 100644 --- a/code/game/objects/items/weapons/shields.dm +++ b/code/game/objects/items/weapons/shields.dm @@ -235,12 +235,13 @@ force = initial(force) w_class = initial(w_class) + update_icon() + if (istype(user,/mob/living/carbon/human)) var/mob/living/carbon/human/H = user H.update_inv_l_hand() H.update_inv_r_hand() - update_icon() addtimer(new Callback(src, /obj/item/shield/energy/proc/UpdateSoundLoop), 0.1 SECONDS)