diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-24 20:58:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-24 20:58:18 +0300 |
commit | 75c5b3d32afdb34b824daafaa6d4300b9a8ec06b (patch) | |
tree | cd40cd214fd3f590ec7af6f4ca5c627d4ffed068 /src/game.cpp | |
parent | 280e7f9dcf757bed0bf652cee1a1485c695cc757 (diff) | |
download | manaverse-75c5b3d32afdb34b824daafaa6d4300b9a8ec06b.tar.gz manaverse-75c5b3d32afdb34b824daafaa6d4300b9a8ec06b.tar.bz2 manaverse-75c5b3d32afdb34b824daafaa6d4300b9a8ec06b.tar.xz manaverse-75c5b3d32afdb34b824daafaa6d4300b9a8ec06b.zip |
Add option to disable logging for better performance while connected to server.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
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(); |