[4.11 P8] Jump Bug

On compile the following method is called:

void ACharacter::ClearJumpInput()
{
// Don’t disable bPressedJump right away if it’s still held
if (bPressedJump && (JumpKeyHoldTime >= GetJumpMaxHoldTime()))
{
bPressedJump = false;
}
}

It disables Jump, We think it should be.

void ACharacter::ClearJumpInput()
{
// Don’t disable bPressedJump right away if it’s still held
if (bPressedJump && (GetJumpMaxHoldTime() != 0.0f) && (JumpKeyHoldTime >= GetJumpMaxHoldTime()))
{
bPressedJump = false;
}

We found the issue; was being called from an Animation Blueprint and caused by a faulty event order.