summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-05 22:24:38 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-05 22:24:38 +0300
commitf27e666d3c7001d62d5292644cae8b3cfaa9af01 (patch)
tree00c3a829ae91262daa9738e96abb8b4b52eaa4fa /src/client.cpp
parentff83a1b745c4c679eb01c9db1f0a82ab613e2195 (diff)
downloadmanaplus-f27e666d3c7001d62d5292644cae8b3cfaa9af01.tar.gz
manaplus-f27e666d3c7001d62d5292644cae8b3cfaa9af01.tar.bz2
manaplus-f27e666d3c7001d62d5292644cae8b3cfaa9af01.tar.xz
manaplus-f27e666d3c7001d62d5292644cae8b3cfaa9af01.zip
Add config counters for starting client and entering game.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 2 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