mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +01:00
Fix 9mm pistols becoming invisible (#19131)
Fix 9mm pistol becoming invisible when the magazine is removed.
This commit is contained in:
@@ -343,9 +343,9 @@
|
||||
/obj/item/gun/projectile/pistol/update_icon()
|
||||
..()
|
||||
if(!(ammo_magazine && ammo_magazine.stored_ammo.len))
|
||||
icon_state = "[icon_state]-e"
|
||||
icon_state = "[initial(icon_state)]-e"
|
||||
else
|
||||
icon_state = "pistol"
|
||||
icon_state = "[initial(icon_state)]"
|
||||
|
||||
/obj/item/gun/projectile/pirate
|
||||
name = "zip gun"
|
||||
|
||||
Reference in New Issue
Block a user