This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user