diff --git a/code/modules/projectiles/guns/projectile.dm b/code/modules/projectiles/guns/projectile.dm index 5f197d56e61..3e3982bc4c6 100644 --- a/code/modules/projectiles/guns/projectile.dm +++ b/code/modules/projectiles/guns/projectile.dm @@ -170,6 +170,7 @@ ) if(auto_eject_sound) playsound(user, auto_eject_sound, 40, 1) + ammo_magazine.update_icon() ammo_magazine = null update_icon() diff --git a/code/modules/projectiles/guns/projectile/automatic.dm b/code/modules/projectiles/guns/projectile/automatic.dm index c518a11a572..b2dc76866c7 100644 --- a/code/modules/projectiles/guns/projectile/automatic.dm +++ b/code/modules/projectiles/guns/projectile/automatic.dm @@ -42,7 +42,7 @@ /obj/item/weapon/gun/projectile/automatic/c20r/update_icon() ..() if(ammo_magazine) - icon_state = "c20r-[round(loaded.len,4)]" + icon_state = "c20r-[round(ammo_magazine.stored_ammo.len,4)]" else icon_state = "c20r" return @@ -88,7 +88,7 @@ update_icon() /obj/item/weapon/gun/projectile/automatic/l6_saw/update_icon() - icon_state = "l6[cover_open ? "open" : "closed"][ammo_magazine ? round(loaded.len, 25) : "-empty"]" + icon_state = "l6[cover_open ? "open" : "closed"][ammo_magazine ? round(ammo_magazine.stored_ammo.len, 25) : "-empty"]" /obj/item/weapon/gun/projectile/automatic/l6_saw/special_check(mob/user) if(cover_open) @@ -102,7 +102,7 @@ return ..() -/obj/item/weapon/gun/projectile/automatic/l6_saw/unload_ammo(mob/user) +/obj/item/weapon/gun/projectile/automatic/l6_saw/unload_ammo(mob/user, var/allow_dump=1) if(!cover_open) return - ..() \ No newline at end of file + ..() diff --git a/code/modules/projectiles/guns/projectile/sniper.dm b/code/modules/projectiles/guns/projectile/sniper.dm index 4bab0678b7a..a6fd3917c1d 100644 --- a/code/modules/projectiles/guns/projectile/sniper.dm +++ b/code/modules/projectiles/guns/projectile/sniper.dm @@ -1,8 +1,8 @@ /obj/item/weapon/gun/projectile/heavysniper name = "\improper PTRS-7 rifle" - desc = "A portable anti-armour rifle fitted with a scope. Originally designed to used against lightly armoured exosuits, it is capable of punching through non-reinforced walls with ease. Fires 14.5mm AP shells." + desc = "A portable anti-armour rifle fitted with a scope. Originally designed to used against armoured exosuits, it is capable of punching through non-reinforced walls with ease. Fires 14.5mm AP shells." icon_state = "heavysniper" - item_state = "sniper0" + item_state = "shotgun" w_class = 4 force = 10 slot_flags = SLOT_BACK diff --git a/icons/obj/ammo.dmi b/icons/obj/ammo.dmi index 05f0fbaecf2..87d71f64f0e 100644 Binary files a/icons/obj/ammo.dmi and b/icons/obj/ammo.dmi differ