diff --git a/iidx@asphyxia/README.md b/iidx@asphyxia/README.md index 324e812..64c51ee 100644 --- a/iidx@asphyxia/README.md +++ b/iidx@asphyxia/README.md @@ -140,3 +140,4 @@ Changelogs - Fixed where unable to login after first-play (SPADA, SINOBUZ, Rootage) - Fixed where pacemaker isn't working as intented due to wrong condition check (HEROIC VERSE ~) - Fixed where pacemaker sub-type isn't load correctly (HEROIC VERSE ~) + - Fixed where QPRO doesn't get saved in WebUI \ No newline at end of file diff --git a/iidx@asphyxia/handlers/webui.ts b/iidx@asphyxia/handlers/webui.ts index 967bb33..cc23509 100644 --- a/iidx@asphyxia/handlers/webui.ts +++ b/iidx@asphyxia/handlers/webui.ts @@ -237,6 +237,12 @@ export const updateCustomSettings = async (data) => { rival_played_folder: StoB(data.rival_played_folder), hide_iidxid: StoB(data.hide_iidxid), disable_beginner_option: StoB(data.disable_beginner_option), + + qpro_head: parseInt(data.qpro_head), + qpro_hair: parseInt(data.qpro_hair), + qpro_face: parseInt(data.qpro_face), + qpro_hand: parseInt(data.qpro_hand), + qpro_body: parseInt(data.qpro_body), } await DB.Upsert(data.refid, { diff --git a/iidx@asphyxia/webui/profile_---setting.pug b/iidx@asphyxia/webui/profile_---setting.pug index 95a540d..22979ad 100644 --- a/iidx@asphyxia/webui/profile_---setting.pug +++ b/iidx@asphyxia/webui/profile_---setting.pug @@ -170,7 +170,10 @@ div .field label.label Disable Beginner Option .control - input(type="checkbox" name="disable_beginner_option", checked=Boolean(custom.disable_beginner_option)) + if custom.disable_beginner_option === undefined + input(type="checkbox" name="disable_beginner_option", checked=Boolean(false)) + else + input(type="checkbox" name="disable_beginner_option", checked=Boolean(custom.disable_beginner_option)) //- QPRO .field label.label QPRO Head