record all adjustments, even those without alternatives
[scpubgit/DX.git] / lib / DX / SearchState.pm
index eea032c..0a306c9 100644 (file)
@@ -57,8 +57,6 @@ sub with_one_step {
 
 sub force_backtrack {
   my ($self) = @_;
-  my ($first_alt, @rest_alt) = @{$self->adjustments_made};
-  return undef unless $first_alt;
   return $self->but(
     next_step => DX::Step::Backtrack->new,
   )->with_one_step;