forked from mirrors/webxoss-core
🐛 fix trap becomes uncheckable after changeSigniZone
This commit is contained in:
parent
cc752c2efa
commit
95b3bb5357
1 changed files with 1 additions and 2 deletions
3
Card.js
3
Card.js
|
@ -1170,12 +1170,11 @@ Card.prototype.changeSigniZone = function (zone) {
|
|||
type: 'MOVE_CARD',
|
||||
content: {
|
||||
card: card,
|
||||
pid: card.isFaceup? card.pid : 0,
|
||||
pid: (card.isFaceup || card === card.zone.trap)? card.pid : 0,
|
||||
zone: card.zone,
|
||||
up: card.isUp,
|
||||
faceup: card.isFaceup,
|
||||
bottom: true,
|
||||
isTrap: (card === card.zone.trap),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue