diff options
-rw-r--r-- | src/game.cpp | 5 |
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); |