Why Shooter Weapon fire?

I dont understand… Why Shooter Weapon fire if left button mouse pressed? Why AShooterWeapon::HandleFiring() called every tick but another functions not called? Help me please :slight_smile:

Ok i found solution. HandleFiring have recursion in:

bRefiring = (CurrentState == EWeaponState::Firing && WeaponConfig.TimeBetweenShots > 0.0f);
	if (bRefiring)
	{
		GetWorldTimerManager().SetTimer(this, &AShooterWeapon::HandleFiring, WeaponConfig.TimeBetweenShots, false);
	}