Commit 585fb908 authored by nanahira's avatar nanahira

fix

parent dfbd7d14
Pipeline #43403 passed with stages
in 1 minute and 10 seconds
...@@ -1381,6 +1381,10 @@ export class Room { ...@@ -1381,6 +1381,10 @@ export class Room {
this.duelRecords.push(duelRecord); this.duelRecords.push(duelRecord);
this.duelStage = DuelStage.Dueling; this.duelStage = DuelStage.Dueling;
this.turnCount = 0;
this.turnIngamePos = 0;
this.phase = undefined;
this.resetResponseRequestState();
const [ const [
player0DeckCount, player0DeckCount,
...@@ -1454,11 +1458,6 @@ export class Room { ...@@ -1454,11 +1458,6 @@ export class Room {
Object.assign(this.registry, registry); Object.assign(this.registry, registry);
}); });
this.turnCount = 0;
this.turnIngamePos = 0;
this.phase = undefined;
this.resetResponseRequestState();
await this.dispatchGameMsg(watcherMsg.msg); await this.dispatchGameMsg(watcherMsg.msg);
await this.ctx.dispatch( await this.ctx.dispatch(
new OnRoomDuelStart(this), new OnRoomDuelStart(this),
......
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