From e6fbf8b067e58128e44a90d35f5ded3a038587af Mon Sep 17 00:00:00 2001 From: WEBXOSS Date: Mon, 14 Aug 2017 15:08:29 +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, 2 insertions(+), 1 deletion(-) diff --git a/Card.js b/Card.js index 0fa800a..53f3971 100644 --- a/Card.js +++ b/Card.js @@ -1174,7 +1174,8 @@ Card.prototype.changeSigniZone = function (zone) { zone: card.zone, up: card.isUp, faceup: card.isFaceup, - bottom: true + bottom: true, + isTrap: (card === card.zone.trap), } } }