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, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 0451dd516..675667cf0 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -409,10 +409,13 @@ Game::Game() :
if (localPlayer)
localPlayer->updatePets();
+
+ settings.disableLoggingInGame = config.getBoolValue("disableLoggingInGame");
}
Game::~Game()
{
+ settings.disableLoggingInGame = false;
touchManager.setInGame(false);
config.write();
serverConfig.write();