fixes floor decals and other missing signal-added overlays by making sure things properly call parent update_icon
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user