From 3ac324250974c560e47e9c98d75e84c0f5fb1d59 Mon Sep 17 00:00:00 2001 From: Lumipharon Date: Wed, 26 Jul 2023 08:34:19 +1200 Subject: [PATCH] Minor autoburst bug fix (#13559) --- code/modules/projectiles/gun_system.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/projectiles/gun_system.dm b/code/modules/projectiles/gun_system.dm index f5934040d6b16..7fbbcc182b428 100644 --- a/code/modules/projectiles/gun_system.dm +++ b/code/modules/projectiles/gun_system.dm @@ -763,6 +763,7 @@ ADD_TRAIT(src, TRAIT_GUN_BURST_FIRING, GUN_TRAIT) return REMOVE_TRAIT(src, TRAIT_GUN_BURST_FIRING, GUN_TRAIT) + shots_fired = 0 //autofire component won't reset this when autobursting otherwise ///Update the target if you draged your mouse /obj/item/weapon/gun/proc/change_target(datum/source, atom/src_object, atom/over_object, turf/src_location, turf/over_location, src_control, over_control, params)