diff --git a/Content.Server/GameObjects/EntitySystems/Click/InteractionSystem.cs b/Content.Server/GameObjects/EntitySystems/Click/InteractionSystem.cs index e60b53d151..d290ec2d2f 100644 --- a/Content.Server/GameObjects/EntitySystems/Click/InteractionSystem.cs +++ b/Content.Server/GameObjects/EntitySystems/Click/InteractionSystem.cs @@ -2,6 +2,7 @@ using System.Linq; using System.Threading.Tasks; using Content.Server.GameObjects.Components.GUI; +using Content.Server.GameObjects.Components.Items.Storage; using Content.Server.GameObjects.Components.Mobs; using Content.Server.GameObjects.Components.Movement; using Content.Server.GameObjects.Components.Timing; @@ -857,6 +858,18 @@ namespace Content.Server.GameObjects.EntitySystems.Click return; } } + else + { + // We pick up items if our hand is empty, even if we're in combat mode. + if(EntityManager.TryGetEntity(target, out var targetEnt)) + { + if (targetEnt.HasComponent()) + { + Interaction(player, targetEnt); + return; + } + } + } } foreach (var attackComponent in player.GetAllComponents())