fix: return null from Mk:dialog (#10676)
This commit is contained in:
parent
d535ec21a2
commit
cbd183a7a9
@ -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({
|
||||||
|
Loading…
Reference in New Issue
Block a user