Merge pull request #342 from nofficalfs/PR-BugFix-IdentityGncNoModify
[BugFix] 一些玄学的遗留bug
This commit is contained in:
commit
90974bf3d1
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue