summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 31d41df78..a81252b6c 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -569,6 +569,11 @@ void Game::logic()
}
Client::closeDialogs();
Client::setFramerate(config.getIntValue("fpslimit"));
+ if (logger)
+ {
+ logger->log("Show error message on state: %d",
+ Client::getState());
+ }
disconnectedDialog = new OkDialog(_("Network Error"),
errorMessage, false);
disconnectedDialog->addActionListener(&errorListener);