From fa337d06c7779fc737b9cb57ed9c71adc281a70b Mon Sep 17 00:00:00 2001 From: BaraBara Date: Sat, 7 Oct 2023 13:14:51 +0300 Subject: [PATCH] fix update_icon --- code/modules/projectiles/guns/projectile/dartgun.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/projectiles/guns/projectile/dartgun.dm b/code/modules/projectiles/guns/projectile/dartgun.dm index d6e97b8b528..c72ca042d7e 100644 --- a/code/modules/projectiles/guns/projectile/dartgun.dm +++ b/code/modules/projectiles/guns/projectile/dartgun.dm @@ -79,7 +79,7 @@ icon_state = "dartgun-empty" return 1 - if(!ammo_magazine.stored_ammo || ammo_magazine.stored_ammo.len) + if(!ammo_magazine.stored_ammo || !ammo_magazine.stored_ammo.len) icon_state = "dartgun-0" else if(ammo_magazine.stored_ammo.len > 5) icon_state = "dartgun-5"