From 89ed095b76d91d5bccfcec86fa3962d48c6f8b56 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 2 Jul 2007 02:55:43 +0200 Subject: [PATCH] Fix a scoring bug in multi-PV mode too. --- remoteglot.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remoteglot.pl b/remoteglot.pl index a58168b..1561ac3 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -510,7 +510,7 @@ sub output_screen { while (exists($uciinfo{'pv' . $mpv})) { $text .= sprintf " PV%2u", $mpv; my $score = short_score(\%uciinfo, \%ficsinfo, $mpv); - $text .= " ($score)" if (!defined($score)); + $text .= " ($score)" if (defined($score)); if (exists($uciinfo{'nodes' . $mpv}) && exists($uciinfo{'nps' . $mpv}) && exists($uciinfo{'depth' . $mpv})) { $text .= sprintf " (%5u kn, %3u kn/s, %2u ply)", -- 2.39.2