mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Runs the implant_check for off_hand guns
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user