Merge pull request #342 from nofficalfs/PR-BugFix-IdentityGncNoModify

[BugFix] 一些玄学的遗留bug
This commit is contained in:
Spmario233 2023-09-18 10:48:32 +08:00 committed by GitHub
commit 90974bf3d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -18763,7 +18763,7 @@
var reg=new RegExp("^ext:(.+)?/"); var reg=new RegExp("^ext:(.+)?/");
var match=tag.match(/^die:(.+)$/); var match=tag.match(/^die:(.+)$/);
if(match){ if(match){
let path=match[1]; var path=match[1];
if(reg.test(path)) path=path.replace(reg,(_o,p)=>`../extension/${p}/`); if(reg.test(path)) path=path.replace(reg,(_o,p)=>`../extension/${p}/`);
game.playAudio(path); game.playAudio(path);
} }

View File

@ -134,7 +134,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
step4(); step4();
} }
}; };
var step4=lib.gnc.async(function*(){ var step4=lib.genAsync(function*(){
clear(); clear();
ui.window.classList.add('noclick_important'); ui.window.classList.add('noclick_important');
ui.click.configMenu(); ui.click.configMenu();