This commit is contained in:
VariableVince
2026-04-03 03:33:29 +02:00
parent 5f97b0f90e
commit 511debc10c
+4
View File
@@ -159,6 +159,10 @@ export class MasterLobbyService {
for (const type of lobbyTypes) {
const lobbies = lobbiesByType[type];
// Always ensure the next lobby has a timer, even if we already have 2+
// lobbies. This prevents a race where two lobbies are created before
// either receives a startsAt (IPC round-trip delay), leaving both stuck
// without a countdown.
const nextLobby = lobbies[0];
if (nextLobby && nextLobby.startsAt === undefined) {
this.sendMessageToWorker({