From f4518282c047023f06e38a8a56e16a3ad7d09411 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 2 Oct 2023 11:10:19 +0800 Subject: [PATCH] 1 --- server/gameserver/jsondatamgr.cc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/server/gameserver/jsondatamgr.cc b/server/gameserver/jsondatamgr.cc index d55b149d..654d31db 100644 --- a/server/gameserver/jsondatamgr.cc +++ b/server/gameserver/jsondatamgr.cc @@ -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"; } }