diff --git a/src/scoreinfo.ts b/src/scoreinfo.ts index b9988f0..592d23c 100644 --- a/src/scoreinfo.ts +++ b/src/scoreinfo.ts @@ -34,8 +34,7 @@ export const scoreinfo = { }, get idLastDigit (this: typeof scoreinfo): number { - const idStr = (+this.id).toString(RADIX) - return parseInt(idStr[idStr.length - 1], RADIX) + return (+this.id) % RADIX }, get title (this: typeof scoreinfo): string {