From 7905d93564e2faa462660ba90b60f4768bec57c2 Mon Sep 17 00:00:00 2001 From: DrSmugleaf Date: Thu, 3 Dec 2020 03:14:56 +0100 Subject: [PATCH] Fix adding then removing a hand causing an error (#2684) --- Content.Client/GameObjects/Components/Items/HandsComponent.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Client/GameObjects/Components/Items/HandsComponent.cs b/Content.Client/GameObjects/Components/Items/HandsComponent.cs index 2ccbc805d1..8bf8bf6c9d 100644 --- a/Content.Client/GameObjects/Components/Items/HandsComponent.cs +++ b/Content.Client/GameObjects/Components/Items/HandsComponent.cs @@ -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); }