Fixed items held in left hand taking the sprite depth from the left arm instead of the hand
This commit is contained in:
@@ -108,7 +108,7 @@ namespace Barotrauma
|
|||||||
}
|
}
|
||||||
else if (holdable.Picker.SelectedItems[1] == this)
|
else if (holdable.Picker.SelectedItems[1] == this)
|
||||||
{
|
{
|
||||||
Limb holdLimb = holdable.Picker.AnimController.GetLimb(LimbType.LeftArm);
|
Limb holdLimb = holdable.Picker.AnimController.GetLimb(LimbType.LeftHand);
|
||||||
depth = holdLimb.sprite.Depth - 0.000001f;
|
depth = holdLimb.sprite.Depth - 0.000001f;
|
||||||
foreach (WearableSprite wearableSprite in holdLimb.WearingItems)
|
foreach (WearableSprite wearableSprite in holdLimb.WearingItems)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user