From 9a929b7a99f979d71fca88c3d6d6cc606f91a199 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 1e6b7aa018..03d2a66442 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({