Skip to content

Commit

Permalink
bugfix: Revolver Ammo Count Fix (#4553)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottfrei authored Mar 3, 2024
1 parent ed14301 commit 68a62ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/projectiles/guns/projectile/revolver.dm
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@
return get_ammo(FALSE, FALSE)


/obj/item/gun/projectile/revolver/get_ammo(countchambered = FALSE, countempties = TRUE)
. = ..()


/obj/item/gun/projectile/revolver/examine(mob/user)
. = ..()
. += span_notice("[get_ammo(FALSE, FALSE)] of those are live rounds")
Expand Down

0 comments on commit 68a62ac

Please sign in to comment.