Smol Ninja Tweaks: Cloak and blow (#6945)

Smol Ninja Tweaks: Cloak and blow
This commit is contained in:
Geeves
2019-09-08 11:33:14 +02:00
committed by Erki
parent 797c37884f
commit f298f1ca68
2 changed files with 47 additions and 0 deletions

View File

@@ -355,6 +355,12 @@
var/obj/item/weapon/rig/R = back
R.attack_disrupt_check(src)
/mob/living/carbon/human/throw_item(atom/target)
. = ..()
if (ismob(src) && istype(back, /obj/item/weapon/rig))
var/obj/item/weapon/rig/R = back
R.attack_disrupt_check(src)
/obj/item/weapon/rig/proc/attack_disrupt_check()
for (var/obj/item/rig_module/module in installed_modules)
if (module.active && module.attackdisrupts)