diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client.cpp | 2 | ||||
-rw-r--r-- | src/game.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 5a0733e92..3358287a1 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -329,6 +329,8 @@ void Client::gameInit() logger->log("init 4"); logger->setDebugLog(config.getBoolValue("debugLog")); + config.incValue("runcount"); + storeSafeParameters(); #ifdef ENABLE_NLS diff --git a/src/game.cpp b/src/game.cpp index 6f569f69a..c614a96ac 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -383,6 +383,8 @@ Game::Game(): assert(!mInstance); mInstance = this; + config.incValue("gamecount"); + disconnectedDialog = nullptr; // Create the viewport |