Merge pull request #697 from kuangshen04/PR-Branch

bugfix
This commit is contained in:
Spmario233 2023-12-03 23:09:37 +08:00 committed by GitHub
commit 4b6422472d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -22880,6 +22880,7 @@ new Promise(resolve=>{
delete this.name;
delete this.name1;
delete this.tempname;
delete this.sex;
delete this.group;
delete this.hp;
@ -27797,7 +27798,7 @@ new Promise(resolve=>{
if(info.trigger&&this.playerid){
const removeTrigger=(role,evt)=>{
const name=this.playerid+'_'+role+'_'+evt;
if(lib.hook[name]) return;
if(!lib.hook[name]) return;
lib.hook[name].remove(skill);
if(lib.hook[name].length==0) delete lib.hook[name];
}