mirror of
https://github.com/webxoss/webxoss-core.git
synced 2025-02-23 13:43:09 +01:00
🐛 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,
|
zone: card.zone,
|
||||||
up: card.isUp,
|
up: card.isUp,
|
||||||
faceup: card.isFaceup,
|
faceup: card.isFaceup,
|
||||||
bottom: true
|
bottom: true,
|
||||||
|
isTrap: (card === card.zone.trap),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue