From 14124985cc90c3c673d69a1dd137005ca9c3e5c5 Mon Sep 17 00:00:00 2001 From: Chinsky Date: Sun, 5 Apr 2015 05:29:04 +0300 Subject: [PATCH] Offhand gun doesn't decrease probability of accidental shot now. --- code/modules/mob/living/carbon/human/human_attackhand.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human_attackhand.dm b/code/modules/mob/living/carbon/human/human_attackhand.dm index ecc5f89162d..d35cef24fd9 100644 --- a/code/modules/mob/living/carbon/human/human_attackhand.dm +++ b/code/modules/mob/living/carbon/human/human_attackhand.dm @@ -216,11 +216,11 @@ if (istype(l_hand,/obj/item/weapon/gun)) W = l_hand - chance = hand ? 40 : 20 + chance += hand ? 40 : 20 else if (istype(r_hand,/obj/item/weapon/gun)) W = r_hand - chance = !hand ? 40 : 20 + chance += !hand ? 40 : 20 if (prob(chance)) visible_message("[src]'s [W.name] goes off during struggle!")