idac: fixed special mode course bug

This commit is contained in:
Dniel97 2024-06-19 19:34:18 +02:00
parent a38904c743
commit 2f1f0281f8
Signed by untrusted user: Dniel97
GPG Key ID: 6180B3C768FB2E08
2 changed files with 3 additions and 5 deletions

View File

@ -693,7 +693,7 @@ class IDACItemData(BaseData):
challenge.c.vs_type,
challenge.c.cleared_difficulty.label("max_clear_lv"),
challenge.c.play_difficulty.label("last_play_lv"),
challenge.c.course_id,
challenge.c.last_play_course_id,
challenge.c.play_count,
)
.where(

View File

@ -877,8 +877,7 @@ class IDACSeason2(IDACBase):
"vs_type": s["vs_type"],
"max_clear_lv": s["max_clear_lv"],
"last_play_lv": s["last_play_lv"],
# change to last_play_course_id?
"last_play_course_id": s["course_id"],
"last_play_course_id": s["last_play_course_id"]
}
)
@ -898,8 +897,7 @@ class IDACSeason2(IDACBase):
"vs_type": c["vs_type"],
"max_clear_lv": c["max_clear_lv"],
"last_play_lv": c["last_play_lv"],
# change to last_play_course_id?
"last_play_course_id": c["course_id"],
"last_play_course_id": c["last_play_course_id"],
"play_count": c["play_count"],
}
)