Fix ranged weapons getting stuck down.

Thanks ShadowCommander for figuring this one out.
This commit is contained in:
Pieter-Jan Briers
2020-05-08 11:55:19 +02:00
parent c7aeec0f6c
commit 046834129f

View File

@@ -40,7 +40,7 @@ namespace Content.Client.GameObjects.EntitySystems
var canFireSemi = _isFirstShot;
var state = _inputSystem.CmdStates.GetState(EngineKeyFunctions.Use);
if (!_combatModeSystem.IsInCombatMode() && state != BoundKeyState.Down)
if (!_combatModeSystem.IsInCombatMode() || state != BoundKeyState.Down)
{
_isFirstShot = true;
_blocked = false;