summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
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);