diff --git a/src/rooms/GeneralRoom.ts b/src/rooms/GeneralRoom.ts index c70a3a4..37908ff 100644 --- a/src/rooms/GeneralRoom.ts +++ b/src/rooms/GeneralRoom.ts @@ -137,7 +137,7 @@ export class GeneralRoom extends Room { if (consented) { throw new Error("consented leave"); } else { - await this.allowReconnection(client, 60); + await this.allowReconnection(client, 10 * 60); debugRoom(`${client.sessionId} 重连`); assistClient.active = false; this.state.players.get(client.sessionId).state = PlayerStateConst.PLAYER_NORMAL;