From ca54c0da3f11717d3ae6c8156c9d780c2f52502b Mon Sep 17 00:00:00 2001 From: John Doe Date: Wed, 8 Nov 2023 14:57:24 -0800 Subject: [PATCH] improve the logic --- code/datums/components/autofire/autofire.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/autofire/autofire.dm b/code/datums/components/autofire/autofire.dm index 878561aae34c..455fb70a9fa1 100644 --- a/code/datums/components/autofire/autofire.dm +++ b/code/datums/components/autofire/autofire.dm @@ -82,7 +82,7 @@ /datum/component/automatedfire/autofire/proc/initiate_shot() SIGNAL_HANDLER if(shooting)//if we are already shooting, it means the shooter is still on cooldown - if(bursting) + if(bursting && (world.time > (next_fire + (burstfire_shot_delay * burst_shots_to_fire)))) hard_reset() return shooting = TRUE