Fix adding then removing a hand causing an error (#2684)

This commit is contained in:
DrSmugleaf
2020-12-03 03:14:56 +01:00
committed by GitHub
parent cd90bab35c
commit 7905d93564

View File

@@ -33,6 +33,7 @@ namespace Content.Client.GameObjects.Components.Items
private void AddHand(Hand hand)
{
_sprite?.LayerMapReserveBlank($"hand-{hand.Name}");
_hands.Insert(hand.Index, hand);
}