修复game.promises.prompt的bug

This commit is contained in:
shijian 2023-12-15 09:12:57 +08:00
parent 107602c94e
commit 44e935a5ff
1 changed files with 1 additions and 1 deletions

View File

@ -36238,7 +36238,7 @@ new Promise(resolve=>{
return new Promise((resolve,reject)=>{ return new Promise((resolve,reject)=>{
if(alertOption!='alert'){ if(alertOption!='alert'){
forced=title||false; forced=title||false;
title=option; title=alertOption;
game.prompt(title,forced,resolve); game.prompt(title,forced,resolve);
}else{ }else{
game.prompt(alertOption,title,forced,resolve); game.prompt(alertOption,title,forced,resolve);