mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-12 09:18:25 +03:00
fix: iidx-mdb-parse: check if legg conflict warning is necessary
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user