summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-09 14:16:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-09 14:16:53 +0300
commit46585d7c62a53bfaf5173aa4e67d64735af1d2ed (patch)
tree3ffa2902ee94455441dcc7fe4ae7b1e027e302e7 /src/client.cpp
parentb3ad7da111d1a21f14de39d84be97104a9666017 (diff)
downloadmanaverse-46585d7c62a53bfaf5173aa4e67d64735af1d2ed.tar.gz
manaverse-46585d7c62a53bfaf5173aa4e67d64735af1d2ed.tar.bz2
manaverse-46585d7c62a53bfaf5173aa4e67d64735af1d2ed.tar.xz
manaverse-46585d7c62a53bfaf5173aa4e67d64735af1d2ed.zip
add ability to notify setup pages about disconnect from server.
Show mods page only if connected to server.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 2 insertions, 0 deletions
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")