mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-12 09:18:25 +03:00
fix(server): log incorrect usc hit windows
This commit is contained in:
@@ -82,7 +82,9 @@ export const ConverterIRUSC: ConverterFunction<USCClientScore, IRUSCContext> = a
|
||||
data.windows.miss !== USC_DEFAULT_MISS ||
|
||||
data.windows.slam !== USC_DEFAULT_SLAM
|
||||
) {
|
||||
logger.verbose(`Ignored score because hitWindows were modified.`);
|
||||
logger.info(`Ignored score because hitWindows were modified.`, {
|
||||
windows: data.windows,
|
||||
});
|
||||
throw new InvalidScoreFailure(`HitWindows have been modified - Score is invalid.`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user