Skip to content

Commit

Permalink
improve the logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Zonespace27 committed Nov 8, 2023
1 parent 3cfff54 commit ca54c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/components/autofire/autofire.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca54c0d

Please sign in to comment.