summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/network_gui.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index dbeb023b4..1aec7de7a 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -596,7 +596,9 @@ public:
if (this->servers.NeedRebuild()) {
this->BuildGUINetworkGameList();
}
- this->SortNetworkGameList();
+ if (this->servers.NeedResort()) {
+ this->SortNetworkGameList();
+ }
NetworkGameList *sel = this->server;
/* 'Refresh' button invisible if no server selected */