diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-29 16:03:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-29 16:03:07 +0300 |
commit | dbafe294280e06d0193f5de330796cf6a2a25732 (patch) | |
tree | 558070768c2203cc58831b43ccc48f036d4f2fe3 /src/game.cpp | |
parent | 7207644c69fb26c5b3e8081a1dd0012f924c185e (diff) | |
download | plus-dbafe294280e06d0193f5de330796cf6a2a25732.tar.gz plus-dbafe294280e06d0193f5de330796cf6a2a25732.tar.bz2 plus-dbafe294280e06d0193f5de330796cf6a2a25732.tar.xz plus-dbafe294280e06d0193f5de330796cf6a2a25732.zip |
Save chat settings even in network errors.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index c087046d0..bcbbefc4a 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -500,6 +500,8 @@ void Game::logic() map->saveExtraLayer(); } Client::closeDialogs(); + if (chatWindow) + chatWindow->saveState(); disconnectedDialog = new OkDialog(_("Network Error"), errorMessage, false); disconnectedDialog->addActionListener(&errorListener); |