summaryrefslogtreecommitdiff
path: root/src/dyetool
diff options
context:
space:
mode:
Diffstat (limited to 'src/dyetool')
-rw-r--r--src/dyetool/client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp
index b87f34aaa..8872aa134 100644
--- a/src/dyetool/client.cpp
+++ b/src/dyetool/client.cpp
@@ -163,7 +163,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();
paths.setDefaultValues(getPathsDefaults());
initPaths();