diff options
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 0527e8481..1434b9a16 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -568,6 +568,7 @@ void Game::logic() map->saveExtraLayer(); } Client::closeDialogs(); + Client::setFramerate(config.getIntValue("fpslimit")); disconnectedDialog = new OkDialog(_("Network Error"), errorMessage, false); disconnectedDialog->addActionListener(&errorListener); @@ -576,6 +577,7 @@ void Game::logic() } else { + Client::setFramerate(config.getIntValue("fpslimit")); if (mAdjustPerfomance) adjustPerfomance(); if (disconnectedDialog) |