forked from 0ad/0ad
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:
parent
8243803f14
commit
64878bb416
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user