mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-08 03:29:44 +00:00
fixed inverted check for game start (#288)
This commit is contained in:
@@ -205,7 +205,7 @@ async function fetchLobbies(): Promise<number> {
|
|||||||
});
|
});
|
||||||
|
|
||||||
lobbyInfos.forEach((l) => {
|
lobbyInfos.forEach((l) => {
|
||||||
if (l.msUntilStart <= 250 || l.gameConfig.maxPlayers >= l.numClients) {
|
if (l.msUntilStart <= 250 || l.gameConfig.maxPlayers <= l.numClients) {
|
||||||
publicLobbyIDs.delete(l.gameID);
|
publicLobbyIDs.delete(l.gameID);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user