From 0ae163966664118fb10d5c53cf9bf61a00f666cd Mon Sep 17 00:00:00 2001 From: WEBXOSS Date: Mon, 10 Apr 2017 23:26:22 +0800 Subject: [PATCH] fix es6 in card.js --- Card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Card.js b/Card.js index 59aa9ec..fa02165 100644 --- a/Card.js +++ b/Card.js @@ -1651,7 +1651,7 @@ Card.prototype.canBeBanished = function () { }; Card.prototype.canGainAbility = function (source) { - let canNotGainAbility = + var canNotGainAbility = this.canNotGainAbility || (this.player.signiCanNotGainAbility && this.type === 'SIGNI') || (this.canNotGainAbilityBySelfPlayer && source && source.player === this.player);