]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 048e826c0623fd5414b399abc6851ec4fc5385b2..08a1a73bb0977148aa8174f48ef67d836aad4ded 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 / ");