If input isn't at findWeapon stop the process
Otherwise it will give a bug