Skip to content

Commit

Permalink
fix update_icon
Browse files Browse the repository at this point in the history
  • Loading branch information
BaraBarax committed Oct 7, 2023
1 parent fb0d4a5 commit fa337d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/projectiles/guns/projectile/dartgun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fa337d0

Please sign in to comment.