Skip to content

Commit

Permalink
Update armored_weapons.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Helg2 committed Dec 4, 2024
1 parent 83917a1 commit 49c4042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/vehicles/armored/armored_weapons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

///called by the chassis: begins firing, yes this is stolen from mech but I made both so bite me
/obj/item/armored_weapon/proc/begin_fire(mob/source, atom/target, list/modifiers)
if(!ammo || ammo.current_rounds < 0)
if(!ammo || ammo.current_rounds <= 0)
playsound(source, 'sound/weapons/guns/fire/empty.ogg', 15, 1)
return
if(TIMER_COOLDOWN_CHECK(chassis, COOLDOWN_MECHA_EQUIPMENT(type)))
Expand Down

0 comments on commit 49c4042

Please sign in to comment.