From 3d27ea4c28578d61e43b37d642a6e3788763bdcb Mon Sep 17 00:00:00 2001 From: Spmario233 Date: Sat, 28 Oct 2023 15:38:19 +0800 Subject: [PATCH] bug fixs --- game/game.js | 9 +++++++-- mode/guozhan.js | 5 +++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/game/game.js b/game/game.js index 0f0079a0a..51cc74daa 100644 --- a/game/game.js +++ b/game/game.js @@ -8395,6 +8395,7 @@ var that=this; this.timeout=setTimeout(function(){ + console.log(that,that._selfDestroyed) if(!that._selfDestroyed){ position.appendChild(that); } @@ -19694,6 +19695,7 @@ else if(cards[i].hasOwnProperty('destroyed')){ if(event.getlx!==false&&event.position&&cards[i].willBeDestroyed(event.position.id,null,event)){ cards[i].selfDestroy(event); + continue; } } else if(info.destroy){ @@ -19779,7 +19781,7 @@ event.xs=xs; game.clearCardKnowers(hs); if(hs.length && !event.visible){ - this.getCards('h').forEach(hcard=>{hcard.clearKnowers();}); + player.getCards('h').forEach(hcard=>{hcard.clearKnowers();}); } "step 2" if(num