fixes attacks missing due to dismemberment

This commit is contained in:
hornygranny
2016-07-10 16:44:46 -07:00
parent 3a3f57265d
commit 14ecd90f2a
@@ -1030,10 +1030,7 @@
var/hit_area
if(!affecting) //Something went wrong. Maybe the limb is missing?
H.visible_message("<span class='danger'>[user] has attempted to attack [H] with [I]!</span>", \
"<span class='userdanger'>[user] has attempted to attack [H] with [I]!</span>")
playsound(H, 'sound/weapons/punchmiss.ogg', 25, 1, -1)
return 0
affecting = H.bodyparts[1]
hit_area = affecting.name
var/def_zone = affecting.body_zone