summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-30 01:50:27 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-30 01:50:27 +0300
commitc56825758fb5ef6cf0094296b16be717c29c4665 (patch)
treef093c692d00503427f4ab266449ca770624bb390 /src/client.cpp
parent24ed41de8f0d8049a8146efb7dff88516e997981 (diff)
downloadplus-c56825758fb5ef6cf0094296b16be717c29c4665.tar.gz
plus-c56825758fb5ef6cf0094296b16be717c29c4665.tar.bz2
plus-c56825758fb5ef6cf0094296b16be717c29c4665.tar.xz
plus-c56825758fb5ef6cf0094296b16be717c29c4665.zip
Prevent losing per server settings.
Prevent losing per server settings if partially connect to server and save settings.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index ceff605ff..4fcfaa081 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1707,6 +1707,7 @@ int Client::gameExec()
Net::getGameHandler()->disconnect();
Net::getGameHandler()->clear();
mServerName.clear();
+ serverConfig.unload();
mState = STATE_CHOOSE_SERVER;
BLOCK_END("Client::gameExec STATE_SWITCH_SERVER")