X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=remoteglot.pl;h=b8377ccef8dbb5c28654595dabb8d9fedd8c103f;hp=b480b80f8da1b9aa443c4bf54785a4f58e90a76a;hb=b93f24c566fd338ac0fda226632c05bc3af8f2ac;hpb=224bcaaa77ed980993f3c7818a1c7de730d0fbab diff --git a/remoteglot.pl b/remoteglot.pl index b480b80..b8377cc 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -684,7 +684,7 @@ sub output_screen { # if (exists($info->{'pv1'}) && !exists($info->{'pv2'})) { for my $key (qw(pv score_cp score_mate nodes nps depth seldepth tbhits)) { - if (exists($info->{$key . '1'}) && !exists($info->{$key})) { + if (exists($info->{$key . '1'})) { $info->{$key} = $info->{$key . '1'}; } }