Runs the implant_check for off_hand guns

This commit is contained in:
KorPhaeron
2015-12-20 12:06:35 -06:00
parent dbcb8dd58a
commit bcb1f84360
+3 -3
View File
@@ -162,13 +162,13 @@
var/obj/item/weapon/gun/off_hand
if(ishuman(user))
var/mob/living/carbon/human/H = user
if(H.r_hand == src && H.l_hand && istype(H.l_hand, /obj/item/weapon/gun))
if(H.r_hand == src && istype(H.l_hand, /obj/item/weapon/gun))
off_hand = H.l_hand
else if(H.l_hand == src && H.r_hand && istype(H.r_hand, /obj/item/weapon/gun))
else if(H.l_hand == src && istype(H.r_hand, /obj/item/weapon/gun))
off_hand = H.r_hand
if(off_hand)
if(off_hand && off_hand.can_trigger_gun(user))
spawn(1)
off_hand.newshot()
off_hand.process_fire(target,user,1,params)