diff --git a/Card.js b/Card.js index 82e0255..4c9ffa9 100644 --- a/Card.js +++ b/Card.js @@ -787,7 +787,8 @@ Card.prototype.moveTo = function (zone,arg) { zone: zone, up: arg.up, faceup: zone.inhand? true : arg.faceup, - bottom: arg.bottom + bottom: arg.bottom, + isSide: arg.isSide } }); card.player.opponent.output({ @@ -798,7 +799,8 @@ Card.prototype.moveTo = function (zone,arg) { zone: zone, up: arg.up, faceup: arg.faceup, - bottom: arg.bottom + bottom: arg.bottom, + isSide: arg.isSide } }); diff --git a/Game.js b/Game.js index 9f30436..0a5e9da 100644 --- a/Game.js +++ b/Game.js @@ -213,8 +213,11 @@ Game.prototype.outputInitMsg = function (player) { excludedZone: player.excludedZone, mainDeckCards: player.mainDeck.cards, lrigDeckCards: player.lrigDeck.cards, - lrigDeckCardIds: player.lrigDeck.cards.map(function (card) { - return card.pid; + lrigDeckCardInfos: player.lrigDeck.cards.map(function (card) { + return { + pid: card.pid, + isSide: card.sideA + } },this) }, opponentZones: { @@ -231,8 +234,11 @@ Game.prototype.outputInitMsg = function (player) { excludedZone: opponent.excludedZone, mainDeckCards: opponent.mainDeck.cards, lrigDeckCards: opponent.lrigDeck.cards, - lrigDeckCardIds: player.lrigDeck.cards.map(function (card) { - return 0; + lrigDeckCardInfos: player.lrigDeck.cards.map(function (card) { + return { + pid: 0, + isSide: card.sideA + } },this) } } diff --git a/webxoss-client b/webxoss-client index a309b94..f881366 160000 --- a/webxoss-client +++ b/webxoss-client @@ -1 +1 @@ -Subproject commit a309b946d29d9a29f2ba1f69b07f3c0162665c8b +Subproject commit f881366379ac99f3473397a7065183425a5cd7a8