]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix wielding while pulling (#29781)
authorthemias <89101928+themias@users.noreply.github.com>
Sun, 7 Jul 2024 03:49:55 +0000 (23:49 -0400)
committerGitHub <noreply@github.com>
Sun, 7 Jul 2024 03:49:55 +0000 (13:49 +1000)
Content.Shared/Inventory/VirtualItem/SharedVirtualItemSystem.cs

index b31cc75576387d40e89d7ebab7586d5d0ccfdd64..4a5894d895899e9383422dcd5310b54c8548e162 100644 (file)
@@ -99,7 +99,7 @@ public abstract class SharedVirtualItemSystem : EntitySystem
                 if (hand.HeldEntity is not { } held)
                     continue;
 
-                if (held == blockingEnt || HasComp<VirtualItemComponent>(held))
+                if (held == blockingEnt)
                     continue;
 
                 if (!_handsSystem.TryDrop(user, hand))