forked from mirrors/webxoss-core
Fix card.upAsyn()
This commit is contained in:
parent
99cedc744c
commit
0c66a0e72c
1 changed files with 1 additions and 1 deletions
2
Card.js
2
Card.js
|
@ -595,7 +595,7 @@ Card.prototype.upAsyn = function () {
|
|||
return protection.condition.call(protection.source);
|
||||
},this);
|
||||
if (!this.upProtections.length) return Callback.immediately(this.up());
|
||||
return player.selectAsyn('CHOOSE_EFFECT',protections).callback(this,function (protection) {
|
||||
return this.player.selectAsyn('CHOOSE_EFFECT',protections).callback(this,function (protection) {
|
||||
protection.source.activate();
|
||||
return protection.actionAsyn.call(protection.source,card);
|
||||
}).callback(this,function () {
|
||||
|
|
Loading…
Reference in a new issue