Order the lobby gamelist by the number of playerslots instead of the ratio of online and total players. Reviewed by scythetwirler.

This was SVN commit r18947.
This commit is contained in:
elexis 2016-11-15 21:59:16 +00:00
parent 8243803f14
commit 64878bb416

View File

@ -542,9 +542,8 @@ function updateGameList()
sortB = translate(b.niceMapName); sortB = translate(b.niceMapName);
break; break;
case 'nPlayers': case 'nPlayers':
// Compare playercount ratio sortA = a.maxnbp;
sortA = a.nbp * b.maxnbp; sortB = b.maxnbp;
sortB = b.nbp * a.maxnbp;
break; break;
case 'status': case 'status':
default: default: