偷卡信息延后发送

This commit is contained in:
zhl 2020-12-09 17:49:13 +08:00
parent c670894adb
commit 79d858ac09
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ Object.defineProperties(Room.prototype, {
*/ */
sStealCard: { sStealCard: {
value: function (client: Client, data?: any) { value: function (client: Client, data?: any) {
client.send("steal_card_s2c", data); client.send("steal_card_s2c", data, {afterNextPatch: true});
} }
}, },
/** /**

View File

@ -34,7 +34,7 @@ Object.defineProperties(Room.prototype, {
dstplayer, dstplayer,
cards: cardIds cards: cardIds
}; };
this.bStealCard(msgData, {except: client}); this.bStealCard(msgData, {except: client, afterNextPatch: true});
let sMsgData = { let sMsgData = {
srcplayer, srcplayer,
dstplayer, dstplayer,