From 4781e1971e5daca3741a28763361c9b7f5da6989 Mon Sep 17 00:00:00 2001 From: mia Date: Sun, 14 Jul 2024 19:08:36 -0700 Subject: [PATCH] fix (client): don't return undefined from native Mk:dialog implementation fixes #10839 --- packages/client/src/scripts/aiscript/api.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/client/src/scripts/aiscript/api.ts b/packages/client/src/scripts/aiscript/api.ts index c111180e8..f803ca75e 100644 --- a/packages/client/src/scripts/aiscript/api.ts +++ b/packages/client/src/scripts/aiscript/api.ts @@ -14,6 +14,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({