fix (client): don't return undefined from native Mk:dialog implementation

fixes #10839
This commit is contained in:
mia 2024-07-14 19:08:36 -07:00 committed by Kopper
parent 5a158b8de0
commit 4781e1971e

View file

@ -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({