修改断线等待时间
This commit is contained in:
parent
8baf552479
commit
db4e3ed584
@ -137,7 +137,7 @@ export class GeneralRoom extends Room {
|
|||||||
if (consented) {
|
if (consented) {
|
||||||
throw new Error("consented leave");
|
throw new Error("consented leave");
|
||||||
} else {
|
} else {
|
||||||
await this.allowReconnection(client, 60);
|
await this.allowReconnection(client, 10 * 60);
|
||||||
debugRoom(`${client.sessionId} 重连`);
|
debugRoom(`${client.sessionId} 重连`);
|
||||||
assistClient.active = false;
|
assistClient.active = false;
|
||||||
this.state.players.get(client.sessionId).state = PlayerStateConst.PLAYER_NORMAL;
|
this.state.players.get(client.sessionId).state = PlayerStateConst.PLAYER_NORMAL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user