From 59a0fde5b8f752492392cec65e4dce9e2aaadffb Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Fri, 11 Sep 2015 00:06:18 -0400 Subject: [PATCH] Update sorting of custom ranks They're now on par with Player instead of Driver. --- js/client-chat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/client-chat.js b/js/client-chat.js index bd9e093ca..540b67e61 100644 --- a/js/client-chat.js +++ b/js/client-chat.js @@ -1562,8 +1562,8 @@ }, comparator: function (a, b) { if (a === b) return 0; - var aRank = (this.rankOrder[this.room.users[a] ? this.room.users[a].substr(0, 1) : ' '] || 5); - var bRank = (this.rankOrder[this.room.users[b] ? this.room.users[b].substr(0, 1) : ' '] || 5); + var aRank = (this.rankOrder[this.room.users[a] ? this.room.users[a].substr(0, 1) : ' '] || 6); + var bRank = (this.rankOrder[this.room.users[b] ? this.room.users[b].substr(0, 1) : ' '] || 6); if (aRank !== bRank) return aRank - bRank; return (a > b ? 1 : -1); },