diff --git a/server/src/lib/score-import/import-types/common/batch-manual/converter.ts b/server/src/lib/score-import/import-types/common/batch-manual/converter.ts index 7d39f7c51..b47706543 100644 --- a/server/src/lib/score-import/import-types/common/batch-manual/converter.ts +++ b/server/src/lib/score-import/import-types/common/batch-manual/converter.ts @@ -433,6 +433,10 @@ export async function ResolveMatchTypeToTachiData( } case "ddrSongHash": { + if (game !== "ddr") { + throw new InvalidScoreFailure(`ddrSongHash matchType can only be used on DDR.`); + } + const difficulty = AssertStrAsDifficulty(data.difficulty, game, context.playtype); const song = await db.anySongs.ddr.findOne({