diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-16 16:14:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-16 16:14:34 +0300 |
commit | fb97eb9e75af62448ec57a45f35b13541db3188b (patch) | |
tree | 37d3adfa8c445de35bc504589bb149d328d21e8a /src/client.cpp | |
parent | c8c48c694acc69f949f95b99355ac2cdae66ab31 (diff) | |
download | ManaVerse-fb97eb9e75af62448ec57a45f35b13541db3188b.tar.gz ManaVerse-fb97eb9e75af62448ec57a45f35b13541db3188b.tar.bz2 ManaVerse-fb97eb9e75af62448ec57a45f35b13541db3188b.tar.xz ManaVerse-fb97eb9e75af62448ec57a45f35b13541db3188b.zip |
Dont do config backups if running tests.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index 74fb70429..983341182 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -288,7 +288,8 @@ void Client::gameInit() #ifdef USE_FUZZER Fuzzer::init(); #endif - ConfigManager::backupConfig("config.xml"); + if (settings.options.test.empty()) + ConfigManager::backupConfig("config.xml"); ConfigManager::initConfiguration(); settings.init(); Net::loadIgnorePackets(); |