From 8fc6b5d191db28ad75b1f318c531c75042d995d3 Mon Sep 17 00:00:00 2001 From: WEBXOSS Date: Wed, 10 May 2017 00:07:24 +0800 Subject: [PATCH] fix PR-308 const --- CardInfo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CardInfo.js b/CardInfo.js index 3aacdb8..b22251d 100644 --- a/CardInfo.js +++ b/CardInfo.js @@ -100723,8 +100723,8 @@ var CardInfo = { description: '1956-const-0', actionAsyn: function () { var filter = function (card) { - return card.hasClass('red'); - }; + return (card !== this) && card.hasColor('red'); + }.bind(this); return this.player.selectSelfSigniAsyn(filter).callback(this,function (card) { if (!card) return; this.game.tillTurnEndSet(this,card,'canNotBeBanished',true);