Fix grabbing things out of storage items doing an attack sometimes.

This commit is contained in:
Pieter-Jan Briers
2020-01-26 16:17:07 +01:00
parent a6f8ee317f
commit 1d98152953

View File

@@ -101,7 +101,7 @@ namespace Content.Client.GameObjects.EntitySystems
} }
// Up. // Up.
if (_timeHeld >= AttackTimeThreshold) if (UseOrAttackIsDown && _timeHeld >= AttackTimeThreshold)
{ {
// Attack. // Attack.
SendMsg(ContentKeyFunctions.Attack, BoundKeyState.Down); SendMsg(ContentKeyFunctions.Attack, BoundKeyState.Down);