From eae0677fcd678025aba6d7800906512c1623a9d2 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih Date: Sun, 21 Jan 2024 15:47:52 +0900 Subject: [PATCH] fix aidx --- assets/js/mi/aidx.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/mi/aidx.ts b/assets/js/mi/aidx.ts index b6446e47..a58dece1 100644 --- a/assets/js/mi/aidx.ts +++ b/assets/js/mi/aidx.ts @@ -28,7 +28,7 @@ function getTime(time: number): string { } function getNoise(ctr: number): string { - return counter.toString(36).padStart(NOISE_LENGTH, '0').slice(-NOISE_LENGTH); + return ctr.toString(36).padStart(NOISE_LENGTH, '0').slice(-NOISE_LENGTH); } export function genAidx(t: number, ctr: number | null = null): string {