From 49c4042b8bf3b76602a7e4cae808ec0e3afff0f4 Mon Sep 17 00:00:00 2001 From: Helg2 Date: Wed, 4 Dec 2024 11:10:38 +0200 Subject: [PATCH] Update armored_weapons.dm --- code/modules/vehicles/armored/armored_weapons.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/vehicles/armored/armored_weapons.dm b/code/modules/vehicles/armored/armored_weapons.dm index 0ddf9a0a171..5a49f31dc08 100644 --- a/code/modules/vehicles/armored/armored_weapons.dm +++ b/code/modules/vehicles/armored/armored_weapons.dm @@ -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)))