Allow picking up items in combat mode (#20431)

* Allow picking up items in combat mode

* dont hardcode that
This commit is contained in:
Kara
2023-09-24 12:47:42 -07:00
committed by GitHub
parent 9e1bf43242
commit 657e4d861e
4 changed files with 60 additions and 6 deletions

View File

@@ -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);