This commit is contained in:
aozhiwei 2023-10-02 11:10:19 +08:00
parent f7962b6851
commit f4518282c0

View File

@ -10,15 +10,9 @@ void JsonDataMgr::Init()
{
if (!f8::IsOnlineEnv()) {
if (f8::IsTestEnv()) {
work_path_ = a8::Format("../../../conf_test/game%d/gameserver.test",
{
GAME_ID
});
work_path_ = "../test_config";
} else {
work_path_ = a8::Format("../../../conf_test/game%d/gameserver.dev",
{
GAME_ID
});
work_path_ = "../dev_config";
}
}