fix: return null from Mk:dialog (#10676)

This commit is contained in:
tsukimizake 2023-05-02 09:56:20 +09:00 committed by GitHub
parent d535ec21a2
commit cbd183a7a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,7 @@ export function createAiScriptEnv(opts) {
title: title.value, title: title.value,
text: text.value, text: text.value,
}); });
return values.NULL;
}), }),
'Mk:confirm': values.FN_NATIVE(async ([title, text, type]) => { 'Mk:confirm': values.FN_NATIVE(async ([title, text, type]) => {
const confirm = await os.confirm({ const confirm = await os.confirm({