From b6a17e8068a802500c745d0501e3ebd58ab33929 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 16 Nov 2013 11:48:26 +0100 Subject: [PATCH] Fix 0.00 showing for long_score, too. --- remoteglot.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/remoteglot.pl b/remoteglot.pl index bb16ebc..c65c7e8 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -1088,6 +1088,9 @@ sub score_sort_key { } else { if (exists($info->{'score_cp' . $mpv})) { my $score = $info->{'score_cp' . $mpv}; + if ($score == 0) { + return " 0.00"; + } if ($invert) { $score = -$score; } -- 2.39.2