Commit 0fdac8d1 authored by nanahira's avatar nanahira

fix

parent 3874f4a5
Pipeline #43155 passed with stages
in 1 minute and 50 seconds
...@@ -869,11 +869,8 @@ export class Room { ...@@ -869,11 +869,8 @@ export class Room {
return true; return true;
} }
@RoomMethod() @RoomMethod({ allowInDuelStages: DuelStage.FirstGo })
private async onDuelStart(client: Client, msg: YGOProCtosTpResult) { private async onDuelStart(client: Client, msg: YGOProCtosTpResult) {
if (this.duelStage !== DuelStage.FirstGo) {
return;
}
if (client !== this.firstgoPlayer) { if (client !== this.firstgoPlayer) {
return; return;
} }
......
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