From b93f24c566fd338ac0fda226632c05bc3af8f2ac Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 15 Nov 2013 19:09:32 +0100 Subject: [PATCH] Fix an issue where mpv-only info would take only the first line. --- remoteglot.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'}; } } -- 2.39.2