fix: forcibly deny Forced-CN/Forced-HCN charts

Why on gods green earth does a chart with forced CN not ALSO set the
user score to say "CN mode"? Literally why? The play says LN mode.

Ridiculous. Fucking beatoraja engineering.
This commit is contained in:
zkldi
2025-09-18 16:49:53 +01:00
parent 69e6ea73f5
commit fd3a76d2c1
@@ -48,6 +48,12 @@ async function HandleOrphanChartProcess(
) {
const chartName = `${context.chart.artist} (${context.chart.subartist})- ${context.chart.title} (${context.chart.subtitle})`;
if (context.chart.lntype !== 0) {
throw new InvalidScoreFailure(
`${TachiConfig.NAME} does not support charts with forced-CN or forced-HCN.`
);
}
if (context.chart.hasRandom) {
// If you're someone forking tachi looking to remove this
// check, remember to change the entire score import