修改断线等待时间

This commit is contained in:
zhl 2021-01-29 16:06:01 +08:00
parent 8baf552479
commit db4e3ed584

View File

@ -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;