summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_gamelist.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/network_gamelist.cpp b/src/network/network_gamelist.cpp
index 4e96ad019..71f8be968 100644
--- a/src/network/network_gamelist.cpp
+++ b/src/network/network_gamelist.cpp
@@ -44,6 +44,7 @@ static void NetworkGameListHandleDelayedInsert()
NetworkGameList *item = NetworkGameListAddItem(ins_item->address);
if (item != NULL) {
+ ClearGRFConfigList(&item->info.grfconfig);
if (StrEmpty(item->info.server_name)) {
memset(&item->info, 0, sizeof(item->info));
strecpy(item->info.server_name, ins_item->info.server_name, lastof(item->info.server_name));