X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=remoteglot.pl;h=c65c7e8a29fdafa8106a6e8610a3126be39c34f2;hp=bb16ebcbd9931d23cc360dfac948b9faeed59c17;hb=b6a17e8068a802500c745d0501e3ebd58ab33929;hpb=a5d359eaff725889fd3554a7c3b7ac5088eb7c63 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; }