3
2
forked from Dniel97/artemis

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:
vs_info_data.append(
{
"battle_mode": 1,
"vs_cnt": 1,
"vs_win": vs["win_flg"],
"invalid": 0,
"str": 0,
"str_now": 0,
"lose_now": 0,
"vs_history": vs["vs_history"],
"battle_mode": vs_info["battle_mode"],
"vs_cnt": vs_info["vs_cnt"],
"vs_win": vs_info["vs_win"],
"invalid": vs_info["invalid"],
"str": vs_info["str"],
"str_now": vs_info["str_now"],
"lose_now": vs_info["lose_now"],
"vs_history": 0,
"course_select_priority": 0,
"vsinfo_course_data": [
{
"course_id": vs["course_id"],
"vs_cnt": 1,
"vs_win": vs["win_flg"],
}
],
"vsinfo_course_data": vs_info["vsinfo_course_data"],
}
)