mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-05-09 10:21:50 +00:00
Orient player sorting properly
This commit is contained in:
parent
9bad513abb
commit
694de51b8c
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ static int sort_coopnet_lobby_comp(const void* a, const void* b) {
|
|||
} else if (sortBy == LOBBY_SORTING_GAMEMODE) {
|
||||
retValue = strcmp(lobbyA->mode, lobbyB->mode);
|
||||
} else if (sortBy == LOBBY_SORTING_PLAYERS) {
|
||||
retValue = lobbyA->playerCount - lobbyB->playerCount;
|
||||
retValue = lobbyB->playerCount - lobbyA->playerCount;
|
||||
} else if (sortBy == LOBBY_SORTING_NONE) {
|
||||
retValue = lobbyA->lobbyId > lobbyB->lobbyId ? 1 : -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue