mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 10:53:31 +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) => {
|
||||
if (l.msUntilStart <= 250 || l.gameConfig.maxPlayers >= l.numClients) {
|
||||
if (l.msUntilStart <= 250 || l.gameConfig.maxPlayers <= l.numClients) {
|
||||
publicLobbyIDs.delete(l.gameID);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user