From 2c626f40436d5216f3611ddfdca0d0470b3b4a97 Mon Sep 17 00:00:00 2001 From: FruitieX Date: Sat, 2 Apr 2011 17:32:17 +0300 Subject: [PATCH] Mapvote: Don't show the "-1 votes" count when a map has been voted out --- qcsrc/client/mapvoting.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2