This commit is contained in:
Conan
2017-10-26 03:39:09 +02:00
parent 122c59440f
commit cdf40cf259

View File

@@ -92,9 +92,9 @@ public:
{ {
if (!reload) { if (!reload) {
std::string conf_path = _CONF_DIR; std::string conf_path = _CONF_DIR;
std::string cfg_file = conf_path + "/mod_achievement.conf"; std::string cfg_file = conf_path + "/mod_achievements.conf";
#ifdef WIN32 #ifdef WIN32
cfg_file = "mod_achievement.conf"; cfg_file = "mod_achievements.conf";
#endif #endif
std::string cfg_def_file = cfg_file + ".dist"; std::string cfg_def_file = cfg_file + ".dist";
sConfigMgr->LoadMore(cfg_def_file.c_str()); sConfigMgr->LoadMore(cfg_def_file.c_str());