修复game.promises.prompt的bug
This commit is contained in:
parent
107602c94e
commit
44e935a5ff
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue