mirror of
https://github.com/webxoss/webxoss-core.git
synced 2025-02-07 14:23:39 +01:00
fix PR-308 const
This commit is contained in:
parent
60b0ebefb8
commit
8fc6b5d191
1 changed files with 2 additions and 2 deletions
|
@ -100723,8 +100723,8 @@ var CardInfo = {
|
||||||
description: '1956-const-0',
|
description: '1956-const-0',
|
||||||
actionAsyn: function () {
|
actionAsyn: function () {
|
||||||
var filter = function (card) {
|
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) {
|
return this.player.selectSelfSigniAsyn(filter).callback(this,function (card) {
|
||||||
if (!card) return;
|
if (!card) return;
|
||||||
this.game.tillTurnEndSet(this,card,'canNotBeBanished',true);
|
this.game.tillTurnEndSet(this,card,'canNotBeBanished',true);
|
||||||
|
|
Loading…
Reference in a new issue