|
@@ -19,8 +19,8 @@ public class ServerStartEventHandler : AEvent<ServerStart>
|
|
|
HttpInterface.serverIp = File.ReadAllText("dbIp.txt");
|
|
|
SimulationCommon.Util.serverIp = HttpInterface.serverIp;
|
|
|
// 读取任务配置文件
|
|
|
- string ec_path = "Missions/editor_config.json";
|
|
|
- string tc_path = "Missions/task_config.json";
|
|
|
+ string ec_path = "Missions/editor_config1.json";
|
|
|
+ string tc_path = "Missions/task_config1.json";
|
|
|
|
|
|
if (!File.Exists(ec_path))
|
|
|
{
|
|
@@ -34,8 +34,9 @@ public class ServerStartEventHandler : AEvent<ServerStart>
|
|
|
return UniTask.CompletedTask;
|
|
|
}
|
|
|
|
|
|
- string ec_str = File.ReadAllText("Missions/editor_config.json");
|
|
|
- string tc_str = File.ReadAllText("Missions/task_config.json");
|
|
|
+ string ec_str = File.ReadAllText("Missions/editor_config1.json");
|
|
|
+ string tc_str = File.ReadAllText("Missions/task_config1.json");
|
|
|
+ //Console.WriteLine(ec_str);
|
|
|
//Console.WriteLine(tc_str);
|
|
|
EditorConfig? editorConfig = JsonConvert.DeserializeObject<EditorConfig>(ec_str);
|
|
|
TaskConfig? taskConfig = JsonConvert.DeserializeObject<TaskConfig>(tc_str);
|