mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-09 15:19:50 +03:00
fix: re add throwing to genericCalcPercent
This commit is contained in:
@@ -93,6 +93,11 @@ export function GenericCalculatePercent(game: Game, score: number, chart?: Chart
|
||||
case "gitadora":
|
||||
case "itg":
|
||||
return score;
|
||||
|
||||
default: {
|
||||
logger.severe(`Invalid game passed of ${game} to GenericCalcPercent.`);
|
||||
throw new InternalFailure(`Invalid game passed of ${game} to GenericCalcPercent.`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user