Allow picking up items in combat mode (#20431)
* Allow picking up items in combat mode * dont hardcode that
This commit is contained in:
@@ -75,7 +75,7 @@ public abstract class SharedItemSystem : EntitySystem
|
||||
|
||||
private void OnHandInteract(EntityUid uid, ItemComponent component, InteractHandEvent args)
|
||||
{
|
||||
if (args.Handled || _combatMode.IsInCombatMode(args.User))
|
||||
if (args.Handled)
|
||||
return;
|
||||
|
||||
args.Handled = _handsSystem.TryPickup(args.User, uid, animateUser: false);
|
||||
|
||||
Reference in New Issue
Block a user