We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3749b53 commit e4faee4Copy full SHA for e4faee4
1 file changed
src/server/GameServer.ts
@@ -87,6 +87,8 @@ export class GameServer {
87
88
private lobbyInfoIntervalId: ReturnType<typeof setInterval> | null = null;
89
90
+ private visibleAt?: number;
91
+
92
constructor(
93
public readonly id: string,
94
readonly log_: Logger,
@@ -559,10 +561,9 @@ export class GameServer {
559
561
}
560
562
563
- private visibleAt?: number;
-
564
public setStartsAt(startsAt: number) {
565
this.startsAt = startsAt;
566
+ // Record when the lobby first became visible to players, used to measure lobby fill time.
567
this.visibleAt ??= Date.now();
568
569
0 commit comments