mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
parent
898e1abe4b
commit
8b228db4cc
1 changed files with 3 additions and 3 deletions
|
|
@ -114,12 +114,12 @@ public abstract partial class SharedHandsSystem
|
|||
|
||||
TryDrop(ent, handName, null, false);
|
||||
|
||||
if (!ent.Comp.Hands.Remove(handName))
|
||||
return;
|
||||
|
||||
if (ContainerSystem.TryGetContainer(ent, handName, out var container))
|
||||
ContainerSystem.ShutdownContainer(container);
|
||||
|
||||
if (!ent.Comp.Hands.Remove(handName))
|
||||
return;
|
||||
|
||||
ent.Comp.SortedHands.Remove(handName);
|
||||
if (ent.Comp.ActiveHandId == handName)
|
||||
TrySetActiveHand(ent, ent.Comp.SortedHands.FirstOrDefault());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue