mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
Merge pull request #19261 from hornygranny/an_arm_and_a_leg
fixes attacks missing due to dismemberment
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user