From cbd183a7a9377f548045cc98531928d0127e783b Mon Sep 17 00:00:00 2001 From: tsukimizake Date: Tue, 2 May 2023 09:56:20 +0900 Subject: [PATCH] fix: return null from Mk:dialog (#10676) --- packages/frontend/src/scripts/aiscript/api.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frontend/src/scripts/aiscript/api.ts b/packages/frontend/src/scripts/aiscript/api.ts index 1b47eaa42..b6b7445b6 100644 --- a/packages/frontend/src/scripts/aiscript/api.ts +++ b/packages/frontend/src/scripts/aiscript/api.ts @@ -17,6 +17,7 @@ export function createAiScriptEnv(opts) { title: title.value, text: text.value, }); + return values.NULL; }), 'Mk:confirm': values.FN_NATIVE(async ([title, text, type]) => { const confirm = await os.confirm({