From cbaac5609fb9017790c5cc747b2c60df1eb2b4a9 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Tue, 11 May 2021 14:59:55 +0200 Subject: Codechange: use UpdateNetworkGameWindow() over manually marking window dirty --- src/network/network_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp index fe4d1249c..9f08062f3 100644 --- a/src/network/network_client.cpp +++ b/src/network/network_client.cpp @@ -590,7 +590,7 @@ NetworkRecvStatus ClientNetworkGameSocketHandler::Receive_SERVER_GAME_INFO(Packe item->online = true; /* It could be either window, but only one is open, so redraw both. */ - SetWindowDirty(WC_NETWORK_WINDOW, WN_NETWORK_WINDOW_GAME); + UpdateNetworkGameWindow(); SetWindowDirty(WC_NETWORK_WINDOW, WN_NETWORK_WINDOW_LOBBY); /* We will receive company info next, so keep connection open. */ -- cgit v1.2.3-70-g09d2