🐛 fix player.resetAccesAsyn

This commit is contained in:
WEBXOSS 2017-08-31 10:45:58 +08:00
parent d21060efe1
commit 23b5ebf8b8

View file

@ -395,7 +395,7 @@ Player.prototype.resetAccesAsyn = function() {
signi.beSelectedAsTarget();
var cards = signi.getAccedCards();
var count = cards.length - signi.maxAcceCount;
return this.player.selectSomeAsyn('TRASH',cards,count,count).callback(this,function (cards) {
return this.selectSomeAsyn('TRASH',cards,count,count).callback(this,function (cards) {
this.game.trashCards(cards);
});
});