Skip to content

Commit

Permalink
[MIRROR] Fix energy shield icons not updating when disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
SierraKomodo authored and SuhEugene committed Jan 7, 2024
1 parent 498df27 commit cc60b93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/game/objects/items/weapons/shields.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit cc60b93

Please sign in to comment.