From f21dcf898eb70ffeb9af7bf68814c6f79861151f Mon Sep 17 00:00:00 2001 From: Lucy Date: Mon, 2 Dec 2024 02:50:59 -0500 Subject: [PATCH] Fix runtime with really fast kinetic crushers --- code/modules/mining/equipment/kinetic_crusher.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/mining/equipment/kinetic_crusher.dm b/code/modules/mining/equipment/kinetic_crusher.dm index f2713f5d48c0..5fe8a2c55550 100644 --- a/code/modules/mining/equipment/kinetic_crusher.dm +++ b/code/modules/mining/equipment/kinetic_crusher.dm @@ -151,9 +151,10 @@ destabilizer.hammer_synced = src playsound(user, 'sound/weapons/plasma_cutter.ogg', 100, TRUE) destabilizer.fire() - charged = FALSE - update_appearance() - addtimer(CALLBACK(src, PROC_REF(Recharge)), charge_time) + if(charge_time > 0) + charged = FALSE + update_appearance() + addtimer(CALLBACK(src, PROC_REF(Recharge)), charge_time) /obj/item/kinetic_crusher/proc/Recharge() if(!charged)