diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-27 22:48:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-27 22:48:09 +0300 |
commit | a4ec0e8bb754e9b81c7c8b3013896ae53c933249 (patch) | |
tree | 33e5b879ae20713b0c4b9873c5b45ce8e0c8c4b3 /src/client.cpp | |
parent | e64f2320f68c762b6822a5b616d5f3d4906c94f0 (diff) | |
download | manaverse-a4ec0e8bb754e9b81c7c8b3013896ae53c933249.tar.gz manaverse-a4ec0e8bb754e9b81c7c8b3013896ae53c933249.tar.bz2 manaverse-a4ec0e8bb754e9b81c7c8b3013896ae53c933249.tar.xz manaverse-a4ec0e8bb754e9b81c7c8b3013896ae53c933249.zip |
Remove previous server name from settings if switching servers.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 1 |
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") |