|
@@ -328,7 +328,7 @@ async function init_lobby(lobby, data, created_just_now) {
|
|
|
generate_map_pool_table(lobby);
|
|
|
lobby.on('close', () => {
|
|
|
db.prepare(`DROP TABLE temp.pool_${lobby.id}`).run();
|
|
|
- if (bancho.joined_lobbies.length == 0) auto_rejoin_lobbies();
|
|
|
+ if (!lobby.dont_reopen && bancho.joined_lobbies.length == 0) auto_rejoin_lobbies();
|
|
|
});
|
|
|
|
|
|
lobby.on('settings', async () => {
|