X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=remoteglot.pl;h=29c1785be99aa35f0ca3bae5de52765bfd2cadd9;hp=bd10cd020475f50a4b3ca0db6e08108e3babead6;hb=7f9d030c0ea78362dc8f1d5d18387c9605f82723;hpb=9e923c34a6788eb9780a151316b196d4a18c3bbd diff --git a/remoteglot.pl b/remoteglot.pl index bd10cd0..29c1785 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -586,7 +586,7 @@ sub output_screen { # specified. # if (exists($uciinfo{'pv1'}) && !exists($uciinfo{'pv2'})) { - for my $key qw(pv score_cp score_mate nodes nps depth seldepth tbhits) { + for my $key (qw(pv score_cp score_mate nodes nps depth seldepth tbhits)) { if (exists($uciinfo{$key . '1'}) && !exists($uciinfo{$key})) { $uciinfo{$key} = $uciinfo{$key . '1'}; }