1
0
Fork 0

🐛 fix trap becomes uncheckable after changeSigniZone

This commit is contained in:
WEBXOSS 2017-08-16 20:49:33 +08:00
parent cc752c2efa
commit 95b3bb5357

View file

@ -1170,12 +1170,11 @@ Card.prototype.changeSigniZone = function (zone) {
type: 'MOVE_CARD', type: 'MOVE_CARD',
content: { content: {
card: card, card: card,
pid: card.isFaceup? card.pid : 0, pid: (card.isFaceup || card === card.zone.trap)? card.pid : 0,
zone: card.zone, zone: card.zone,
up: card.isUp, up: card.isUp,
faceup: card.isFaceup, faceup: card.isFaceup,
bottom: true, bottom: true,
isTrap: (card === card.zone.trap),
} }
} }
} }