X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=remoteglot.pl;h=bb16ebcbd9931d23cc360dfac948b9faeed59c17;hp=b8377ccef8dbb5c28654595dabb8d9fedd8c103f;hb=a5d359eaff725889fd3554a7c3b7ac5088eb7c63;hpb=b93f24c566fd338ac0fda226632c05bc3af8f2ac diff --git a/remoteglot.pl b/remoteglot.pl index b8377cc..bb16ebc 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -1058,6 +1058,9 @@ sub short_score { } else { if (exists($info->{'score_cp' . $mpv})) { my $score = $info->{'score_cp' . $mpv} * 0.01; + if ($score == 0) { + return " 0.00"; + } if ($invert) { $score = -$score; }