fix: iidx-mdb-parse: check if legg conflict warning is necessary

This commit is contained in:
GRIM657
2026-07-06 23:12:19 +00:00
parent 86fdee227c
commit 083514f154
@@ -214,7 +214,11 @@ export async function ParseIIDXData(
const notecount = chart.notecount;
if (chart.difficulty === "LEGGENDARIA") {
if (notecount !== 0 && notecounts[`${chart.playtype}-LEGGENDARIA`]) {
if (
notecount !== 0 &&
notecounts[`${chart.playtype}-LEGGENDARIA`] &&
notecount !== notecounts[`${chart.playtype}-LEGGENDARIA`]
) {
log.warn(
`${chart.artist} - ${chart.title} has conflicting ${
chart.playtype