Danse's Gun Changes: 3 - cleaning up my mess edition (#10043)

This commit is contained in:
TheDanseMacabre
2020-09-23 04:50:50 -04:00
committed by GitHub
parent 44b0cfadb1
commit df857171d0
3 changed files with 2 additions and 2 deletions
@@ -237,9 +237,9 @@
/obj/item/gun/projectile/automatic/rifle/z8/update_icon()
..()
if(ammo_magazine)
icon_state = "carbine-[round(ammo_magazine.stored_ammo.len,2)]"
else
icon_state = "carbine"
else
icon_state = "carbine-empty"
if(wielded)
item_state = "carbine-wielded"
else