Fix wrong delimiter when leadlimit_and_fraglimit is 1 and fraglimit is 0
authorterencehill <piuntn@gmail.com>
Sun, 5 Apr 2020 12:21:33 +0000 (14:21 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 5 Apr 2020 12:21:33 +0000 (14:21 +0200)
qcsrc/client/hud/panel/scoreboard.qc

index 048e826..08a1a73 100644 (file)
@@ -1637,7 +1637,7 @@ void Scoreboard_Draw()
                        if(tl > 0 || fl > 0)
                        {
                                // delimiter
-                               if (ll_and_fl)
+                               if (ll_and_fl && fl > 0)
                                        str = strcat(str, "^7 & ");
                                else
                                        str = strcat(str, "^7 / ");