X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fmapvoting.qc;h=a9e7ca4a94beee110d55d8b85d3879fa03132eff;hb=4d89135c486ca6d2b04118cf861c28f557ab4d30;hp=e94d6a68aa786786f9babdf009e71deeb5b64259;hpb=49a1b0a79699721877d9630fc598574bb0ac91b2;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/mapvoting.qc b/qcsrc/client/mapvoting.qc index e94d6a68a..a9e7ca4a9 100644 --- a/qcsrc/client/mapvoting.qc +++ b/qcsrc/client/mapvoting.qc @@ -26,7 +26,7 @@ string MapVote_FormatMapItem(float id, string map, float count, float maxwidth, { if(count == 1) post = _(" (1 vote)"); - else + else if(count >= 0) post = sprintf(_(" (%d votes)"), count); } else