fix vs_info handles of getdata

This commit is contained in:
UncleJim 2023-11-19 11:57:32 +00:00
parent 25ab37561d
commit 77b22cd77d

View File

@ -716,22 +716,16 @@ class IDACSeason2(IDACBase):
for vs in vs_info: for vs in vs_info:
vs_info_data.append( vs_info_data.append(
{ {
"battle_mode": 1, "battle_mode": vs_info["battle_mode"],
"vs_cnt": 1, "vs_cnt": vs_info["vs_cnt"],
"vs_win": vs["win_flg"], "vs_win": vs_info["vs_win"],
"invalid": 0, "invalid": vs_info["invalid"],
"str": 0, "str": vs_info["str"],
"str_now": 0, "str_now": vs_info["str_now"],
"lose_now": 0, "lose_now": vs_info["lose_now"],
"vs_history": vs["vs_history"], "vs_history": 0,
"course_select_priority": 0, "course_select_priority": 0,
"vsinfo_course_data": [ "vsinfo_course_data": vs_info["vsinfo_course_data"],
{
"course_id": vs["course_id"],
"vs_cnt": 1,
"vs_win": vs["win_flg"],
}
],
} }
) )