From 46585d7c62a53bfaf5173aa4e67d64735af1d2ed Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 9 Jan 2014 14:16:53 +0300 Subject: add ability to notify setup pages about disconnect from server. Show mods page only if connected to server. --- src/client.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index 483b70c87..443c156fb 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1720,6 +1720,8 @@ int Client::gameExec() mServerName.clear(); serverConfig.write(); serverConfig.unload(); + if (setupWindow) + setupWindow->externalUnload(); mState = STATE_CHOOSE_SERVER; BLOCK_END("Client::gameExec STATE_SWITCH_SERVER") -- cgit v1.2.3-70-g09d2