修正单人的抽卡消息没有source的bug
This commit is contained in:
parent
0c896a0810
commit
08ec7a7799
@ -65,7 +65,8 @@ Object.defineProperties(Room.prototype, {
|
|||||||
let client = this.getClient(dstplayer);
|
let client = this.getClient(dstplayer);
|
||||||
let sData = {
|
let sData = {
|
||||||
player: dstplayer,
|
player: dstplayer,
|
||||||
cards: cards
|
cards: cards,
|
||||||
|
source: source
|
||||||
};
|
};
|
||||||
this.sDrawCard(client, sData);
|
this.sDrawCard(client, sData);
|
||||||
let cardIds = cards.map(card => card.id);
|
let cardIds = cards.map(card => card.id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user