fixes floor decals and other missing signal-added overlays by making sure things properly call parent update_icon

This commit is contained in:
deathride58
2024-04-24 22:30:25 -04:00
parent e094437056
commit 0517ece12a
36 changed files with 35 additions and 10 deletions
@@ -7,6 +7,7 @@
max_ammo = 20
/obj/item/ammo_box/magazine/recharge/update_icon()
. = ..()
desc = "[initial(desc)] It has [stored_ammo.len] shot\s left."
icon_state = "oldrifle-[round(ammo_count(),4)]"
@@ -7,6 +7,7 @@
max_ammo = 10
/obj/item/ammo_box/magazine/m10mm/rifle/update_icon()
. = ..()
if(ammo_count())
icon_state = "75-8"
else
@@ -6,6 +6,7 @@
caliber = ".50"
/obj/item/ammo_box/magazine/sniper_rounds/update_icon()
. = ..()
if(ammo_count())
icon_state = "[initial(icon_state)]-ammo"
else