From ff12e937b1bd6ea8f62134c0186794f17a3c7843 Mon Sep 17 00:00:00 2001 From: zhl Date: Tue, 19 Jan 2021 11:33:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BC=98=E5=85=88=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=E6=9C=BA=E5=99=A8=E4=BA=BA=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rooms/RankedLobbyRoom.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rooms/RankedLobbyRoom.ts b/src/rooms/RankedLobbyRoom.ts index d2db1de..961a1f6 100644 --- a/src/rooms/RankedLobbyRoom.ts +++ b/src/rooms/RankedLobbyRoom.ts @@ -282,7 +282,8 @@ export class RankedLobbyRoom extends Room { * Match long-waiting clients with bots * FIXME: peers of this group may be entered short ago */ - (stat.waitingTime >= this.maxWaitingTime && this.allowUnmatchedGroups) + (stat.waitingTime >= this.maxWaitingTime && this.allowUnmatchedGroups) || + stat.priority ) { currentGroup.ready = true; currentGroup = this.createGroup();