Commit 58d57563 authored by nanahira's avatar nanahira

fix

parent 7f49fd18
......@@ -436,9 +436,11 @@ export class Room {
this.disposeOcgcore();
this.ocgcore = undefined;
if (this.duelStage === DuelStage.Siding) {
this.playingPlayers
.filter((p) => !p.deck)
.forEach((p) => p.send(new YGOProStocDuelStart()));
await Promise.all(
this.playingPlayers
.filter((p) => !p.deck)
.map((p) => p.send(new YGOProStocDuelStart())),
);
}
const duelPos = this.getIngameDuelPosByDuelPos(winMsg.player!);
this.isPosSwapped = false;
......
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