mirror of
https://github.com/webxoss/webxoss-core.git
synced 2024-11-20 06:49:53 +01:00
Fix game init message
This commit is contained in:
parent
890a54d1ad
commit
7dd84bc3da
1 changed files with 3 additions and 3 deletions
6
Game.js
6
Game.js
|
@ -218,7 +218,7 @@ Game.prototype.outputInitMsg = function (player) {
|
|||
lrigDeckCardInfos: player.lrigDeck.cards.map(function (card) {
|
||||
return {
|
||||
pid: card.pid,
|
||||
isSide: card.sideA
|
||||
isSide: !!card.sideA
|
||||
}
|
||||
},this)
|
||||
},
|
||||
|
@ -236,10 +236,10 @@ Game.prototype.outputInitMsg = function (player) {
|
|||
excludedZone: opponent.excludedZone,
|
||||
mainDeckCards: opponent.mainDeck.cards,
|
||||
lrigDeckCards: opponent.lrigDeck.cards,
|
||||
lrigDeckCardInfos: player.lrigDeck.cards.map(function (card) {
|
||||
lrigDeckCardInfos: opponent.lrigDeck.cards.map(function (card) {
|
||||
return {
|
||||
pid: 0,
|
||||
isSide: card.sideA
|
||||
isSide: !!card.sideA
|
||||
}
|
||||
},this)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue