From 643f8fb337b380e9af6f10c47f298941f6f89c78 Mon Sep 17 00:00:00 2001 From: HelmCrab <90987989+Thera-Pissed@users.noreply.github.com> Date: Mon, 23 Sep 2024 00:29:17 -0500 Subject: [PATCH] removes did_fire variable (#3415) ## About The Pull Request removes did_fire variable that does nothing but throw an error ## Why It's Good For The Game mildly annoying ## Changelog :cl: del: unused did_fire var /:cl: --- code/modules/projectiles/gun.dm | 1 - 1 file changed, 1 deletion(-) diff --git a/code/modules/projectiles/gun.dm b/code/modules/projectiles/gun.dm index f97dc5a5ce86..b59a1530a209 100644 --- a/code/modules/projectiles/gun.dm +++ b/code/modules/projectiles/gun.dm @@ -984,7 +984,6 @@ human_holder = src for(var/obj/item/gun/at_risk in get_all_contents()) var/chance_to_fire = GUN_NO_SAFETY_MALFUNCTION_CHANCE_MEDIUM - var/did_fire = FALSE if(human_holder) // gun is less likely to go off in a holster if(at_risk == human_holder.s_store)