From 96cfc41f7a08605555751d64375f2cf3c126d269 Mon Sep 17 00:00:00 2001 From: Menci Date: Sun, 16 Nov 2025 23:00:36 +0800 Subject: [PATCH] fix: removed Re:MASTER by event 0 --- src/processors/music.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/processors/music.ts b/src/processors/music.ts index de023d5..51aff86 100644 --- a/src/processors/music.ts +++ b/src/processors/music.ts @@ -38,6 +38,12 @@ export const processMusic: WorkerProcessor = async ctx => { } satisfies MaimaiChartMetadataIntermediate : undefined); + // Re:MASTER is removed (bugfix?). + if (MusicData.subEventName.id === 0 && charts[4] != null) { + logger.warn(`Music ${fileName} (${name}) has Re:MASTER removed (bugfix?)`); + charts[4] = undefined; + } + // Remove charts of nonexistent difficulties. while (charts.length > 0 && charts[charts.length - 1] === undefined) charts.pop();