From 92570e5941cad1ca5bba847addb7a01e60870ae2 Mon Sep 17 00:00:00 2001 From: Git-Nivrak <59925169+Git-Nivrak@users.noreply.github.com> Date: Mon, 25 Sep 2023 20:37:48 +0300 Subject: [PATCH 1/2] Update smartgun_mount.dm --- code/modules/cm_marines/smartgun_mount.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/cm_marines/smartgun_mount.dm b/code/modules/cm_marines/smartgun_mount.dm index 0066e96bb783..9433cb090a5a 100644 --- a/code/modules/cm_marines/smartgun_mount.dm +++ b/code/modules/cm_marines/smartgun_mount.dm @@ -1032,6 +1032,9 @@ /obj/structure/machinery/m56d_hmg/proc/start_fire(datum/source, atom/object, turf/location, control, params, bypass_checks = FALSE) SIGNAL_HANDLER + if (burst_firing) + return + var/list/modifiers = params2list(params) if(modifiers["shift"] || modifiers["middle"] || modifiers["right"]) return From a6a320338434f99d1b57dda37688897fcdd251bc Mon Sep 17 00:00:00 2001 From: Git-Nivrak <59925169+Git-Nivrak@users.noreply.github.com> Date: Mon, 25 Sep 2023 21:01:50 +0300 Subject: [PATCH 2/2] fixes semiauto as well --- code/modules/cm_marines/smartgun_mount.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/cm_marines/smartgun_mount.dm b/code/modules/cm_marines/smartgun_mount.dm index 9433cb090a5a..b7147bcbc4e7 100644 --- a/code/modules/cm_marines/smartgun_mount.dm +++ b/code/modules/cm_marines/smartgun_mount.dm @@ -1063,7 +1063,8 @@ reset_fire() display_ammo() return - SEND_SIGNAL(src, COMSIG_GUN_FIRE) + else if(gun_firemode != GUN_FIREMODE_SEMIAUTO) + SEND_SIGNAL(src, COMSIG_GUN_FIRE) /// setter for fire_delay /obj/structure/machinery/m56d_hmg/proc/set_fire_delay(value)