From 1e6e7b0146db2a0c850628a498de10dbd32a2562 Mon Sep 17 00:00:00 2001 From: Chinsky Date: Mon, 30 Mar 2015 22:08:08 +0300 Subject: [PATCH] Fixes #8580 Also fixed condition thing where having second pistol would lower chance of main one going off --- 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 23f90946bcd..7c7dcfe4f0b 100644 --- a/code/modules/mob/living/carbon/human/human_attackhand.dm +++ b/code/modules/mob/living/carbon/human/human_attackhand.dm @@ -218,12 +218,12 @@ W = l_hand chance = hand ? 40 : 20 - if (istype(r_hand,/obj/item/weapon/gun)) + else if (istype(r_hand,/obj/item/weapon/gun)) W = r_hand chance = !hand ? 40 : 20 if (prob(chance)) - visible_message("[src]'s [W] goes off during struggle!") + visible_message("[src]'s [W.name] goes off during struggle!") var/list/turfs = list() for(var/turf/T in view()) turfs += T