feat: add EZ and RX as available mods

This commit is contained in:
2026-03-15 23:01:08 +01:00
parent 07f988de58
commit bb6111e64f
21 changed files with 1067 additions and 100 deletions

View File

@@ -103,7 +103,10 @@ async function main() {
starRating: m.sr,
bpm: m.bpm,
totalLength: 120,
mods: m.category === 'NM' || m.category === 'TB' ? [] : [m.category],
mods:
m.category === 'NM' || m.category === 'TB'
? []
: (m.category.match(/.{2}/g)?.filter((c) => c !== 'NM' && c !== 'TB') ?? [m.category]),
title: m.title,
artist: m.artist,
version: 'Normal'