Preserve fleet match timing across empty telemetry
CI / checks (push) Successful in 4m46s

This commit is contained in:
2026-10-09 19:41:55 -04:00
parent d1f581d6a8
commit ce6dba17e6
12 changed files with 171 additions and 53 deletions
+2 -2
View File
@@ -100,10 +100,10 @@
: null
);
const currentRound = $derived(
!gameEndedAt ? (round !== undefined ? round : reportedRound) : null
players !== 0 && !gameEndedAt ? (round !== undefined ? round : reportedRound) : null
);
const gameElapsed = $derived(
gameStartedAt && !gameEndedAt ? elapsedSince(gameStartedAt, $uiNow) : null
players !== 0 && gameStartedAt && !gameEndedAt ? elapsedSince(gameStartedAt, $uiNow) : null
);
const emptyElapsed = $derived(elapsedSince(inactiveSince, $uiNow));
// These lobbies have four slots when the live status omits the limit.