summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index e5a86f4a3..db9486699 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -367,6 +367,7 @@ Game::Game():
mLastAction(0),
mNextAdjustTime(cur_time + adjustDelay),
mAdjustLevel(0),
+ mAdjustPerfomance(config.getBoolValue("adjustPerfomance")),
mLowerCounter(0),
mPing(0)
{
@@ -378,8 +379,6 @@ Game::Game():
disconnectedDialog = nullptr;
- mAdjustPerfomance = config.getBoolValue("adjustPerfomance");
-
// Create the viewport
viewport = new Viewport;
viewport->setSize(mainGraphics->mWidth, mainGraphics->mHeight);