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::IsOnlineEnv()) {
if (f8::IsTestEnv()) { if (f8::IsTestEnv()) {
work_path_ = a8::Format("../../../conf_test/game%d/gameserver.test", work_path_ = "../test_config";
{
GAME_ID
});
} else { } else {
work_path_ = a8::Format("../../../conf_test/game%d/gameserver.dev", work_path_ = "../dev_config";
{
GAME_ID
});
} }
} }