From 95b3bb535738092701c7b0319dee0ea64d90fb51 Mon Sep 17 00:00:00 2001 From: WEBXOSS Date: Wed, 16 Aug 2017 20:49:33 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20trap=20becomes=20uncheckab?= =?UTF-8?q?le=20after=20changeSigniZone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Card.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Card.js b/Card.js index 53f3971..6b21c36 100644 --- a/Card.js +++ b/Card.js @@ -1170,12 +1170,11 @@ Card.prototype.changeSigniZone = function (zone) { type: 'MOVE_CARD', content: { card: card, - pid: card.isFaceup? card.pid : 0, + pid: (card.isFaceup || card === card.zone.trap)? card.pid : 0, zone: card.zone, up: card.isUp, faceup: card.isFaceup, bottom: true, - isTrap: (card === card.zone.trap), } } }