Fix adding then removing a hand causing an error (#2684)
This commit is contained in:
@@ -33,6 +33,7 @@ namespace Content.Client.GameObjects.Components.Items
|
|||||||
|
|
||||||
private void AddHand(Hand hand)
|
private void AddHand(Hand hand)
|
||||||
{
|
{
|
||||||
|
_sprite?.LayerMapReserveBlank($"hand-{hand.Name}");
|
||||||
_hands.Insert(hand.Index, hand);
|
_hands.Insert(hand.Index, hand);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user