summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/network_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 539087ff8..d6fc35c28 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -320,8 +320,8 @@ protected:
if (r == 0) r = (*b)->info.compatible - (*a)->info.compatible;
/* Passworded servers should be below unpassworded servers */
if (r == 0) r = (*a)->info.use_password - (*b)->info.use_password;
- /* Finally sort on the name of the server */
- if (r == 0) r = NGameNameSorter(a, b);
+ /* Finally sort on the number of clients of the server */
+ if (r == 0) r = -NGameClientSorter(a, b);
return r;
}