mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Fixes 10mm rifle mags and sniper rounds not reporting ammo/updating material values. (#42938)
This commit is contained in:
@@ -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