From a7158bfb626c7cf34acea57f9410c34a0f52d515 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Mon, 12 Oct 2026 23:21:10 +0900 Subject: [PATCH] 1.0.5 RC11 --- instance.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instance.ts b/instance.ts index 772d943..b623f2f 100644 --- a/instance.ts +++ b/instance.ts @@ -22,7 +22,7 @@ function parse_save(line: string): number | null { const m = SAVE_LINE_RE.exec(line); if (!m) return null; const slot = AUTOSAVE_NAME_RE.exec(m[1]); - return slot ? Number(slot[1]) : undefined; + return slot ? Number(slot[1]) : null; } export default async function(context: InstancePluginContext) {