forked from mirrors/webxoss-core
🐛 fix trap becomes uncheckable after changeSigniZone
This commit is contained in:
parent
34b601dfca
commit
e6fbf8b067
1 changed files with 2 additions and 1 deletions
3
Card.js
3
Card.js
|
@ -1174,7 +1174,8 @@ Card.prototype.changeSigniZone = function (zone) {
|
|||
zone: card.zone,
|
||||
up: card.isUp,
|
||||
faceup: card.isFaceup,
|
||||
bottom: true
|
||||
bottom: true,
|
||||
isTrap: (card === card.zone.trap),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue