forked from mirrors/webxoss-core
Hotfix
This commit is contained in:
parent
975e26901a
commit
df3ff4af78
2 changed files with 2 additions and 2 deletions
2
Card.js
2
Card.js
|
@ -717,7 +717,7 @@ Card.prototype.moveTo = function (zone,arg) {
|
||||||
// 是 SIGNI 下方的卡,比如魅饰卡
|
// 是 SIGNI 下方的卡,比如魅饰卡
|
||||||
// 处理魅饰卡
|
// 处理魅饰卡
|
||||||
var signi = card.zone.getActualCards()[0];
|
var signi = card.zone.getActualCards()[0];
|
||||||
if (card === signi.charm) {
|
if (signi && card === signi.charm) {
|
||||||
moveEvent.isCharm = true;
|
moveEvent.isCharm = true;
|
||||||
signi.charm = null;
|
signi.charm = null;
|
||||||
}
|
}
|
||||||
|
|
2
Zone.js
2
Zone.js
|
@ -54,7 +54,7 @@ Zone.prototype.getActualCards = function () {
|
||||||
return this.cards.filter(function (card) {
|
return this.cards.filter(function (card) {
|
||||||
return !inArr(card,this.game.trashingCharms) &&
|
return !inArr(card,this.game.trashingCharms) &&
|
||||||
!inArr(card,this.game.trashingCards);
|
!inArr(card,this.game.trashingCards);
|
||||||
});
|
},this);
|
||||||
};
|
};
|
||||||
|
|
||||||
Zone.prototype.moveCardsToTop = function (cards) {
|
Zone.prototype.moveCardsToTop = function (cards) {
|
||||||
|
|
Loading…
Reference in a new issue