Commit ae4550c4 authored by nanahira's avatar nanahira

Merge branch 'mc'

parents ff4f2e26 808073d5
Pipeline #7660 passed with stages
in 98 minutes and 18 seconds
......@@ -57,7 +57,7 @@ let DuelLogPlayer = DuelLogPlayer_1 = class DuelLogPlayer extends BasePlayer_1.B
p.cardCount = info.cardCount;
p.isFirst = info.isFirst ? 1 : 0;
p.winner = info.winner ? 1 : 0;
p.startDeckBuffer = info.startDeckBuffer.toString("base64");
p.startDeckBuffer = info.startDeckBuffer?.toString("base64") || null;
p.setCurrentDeck(info.deck);
return p;
}
......
......@@ -73,7 +73,7 @@ export class DuelLogPlayer extends BasePlayer {
p.cardCount = info.cardCount;
p.isFirst = info.isFirst ? 1 : 0;
p.winner = info.winner ? 1 : 0;
p.startDeckBuffer = info.startDeckBuffer.toString("base64");
p.startDeckBuffer = info.startDeckBuffer?.toString("base64") || null;
p.setCurrentDeck(info.deck);
return p;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment