mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
Fixes splinting and broken limb dropping
Splints will now work again, on arms/hands/legs/feet, and health analyzers will warn about unsplinted limbs. Having a broken left arm will no longer cause you to drop what's in your right hand.
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
continue
|
||||
|
||||
if(E.is_broken())
|
||||
if(E.body_part == HAND_LEFT)
|
||||
if((E.body_part == HAND_LEFT) || (E.body_part == ARM_LEFT))
|
||||
if(!l_hand)
|
||||
continue
|
||||
unEquip(l_hand)
|
||||
@@ -123,7 +123,7 @@
|
||||
|
||||
else if(E.is_malfunctioning())
|
||||
|
||||
if(E.body_part == HAND_LEFT)
|
||||
if((E.body_part == HAND_LEFT) || (E.body_part == ARM_LEFT))
|
||||
unEquip(l_hand)
|
||||
else
|
||||
unEquip(r_hand)
|
||||
|
||||
Reference in New Issue
Block a user