mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-30 02:48:01 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user