summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-27 22:48:09 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-27 22:48:09 +0300
commita4ec0e8bb754e9b81c7c8b3013896ae53c933249 (patch)
tree33e5b879ae20713b0c4b9873c5b45ce8e0c8c4b3
parente64f2320f68c762b6822a5b616d5f3d4906c94f0 (diff)
downloadplus-a4ec0e8bb754e9b81c7c8b3013896ae53c933249.tar.gz
plus-a4ec0e8bb754e9b81c7c8b3013896ae53c933249.tar.bz2
plus-a4ec0e8bb754e9b81c7c8b3013896ae53c933249.tar.xz
plus-a4ec0e8bb754e9b81c7c8b3013896ae53c933249.zip
Remove previous server name from settings if switching servers.
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 395f148a6..3803b08b5 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1706,6 +1706,7 @@ int Client::gameExec()
Net::getLoginHandler()->disconnect();
Net::getGameHandler()->disconnect();
Net::getGameHandler()->clear();
+ mServerName.clear();
mState = STATE_CHOOSE_SERVER;
BLOCK_END("Client::gameExec STATE_SWITCH_SERVER")