]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/scoreboard.qc
scores sorting: use strict and nonstrict sorting where useful
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / scoreboard.qc
index d37e1808ea68ea0c5dec9e90005723b9456130a6..af982ad46547bd4d2435e56f40e7e929b6d38723 100644 (file)
@@ -185,6 +185,9 @@ float HUD_ComparePlayerScores(entity left, entity right)
                        return r;
        }
 
+       if (left.sv_entnum < right.sv_entnum)
+               return true;
+
        return false;
 }
 
@@ -224,6 +227,9 @@ float HUD_CompareTeamScores(entity left, entity right)
                        return r;
        }
 
+       if (left.team < right.team)
+               return true;
+
        return false;
 }