password protect osu lobby

This commit is contained in:
2026-03-06 18:09:22 +01:00
parent 093d9fd83c
commit 6f1fc00077

View File

@@ -285,9 +285,6 @@ export async function initMatchLobby(matchId: string) {
: config.scoringType === 'combo' ? 2 : config.scoringType === 'combo' ? 2
: 0; : 0;
await lobby.setProperties(0, scoreMode, config.teamSize * 2); await lobby.setProperties(0, scoreMode, config.teamSize * 2);
// Remove password so players can join via mp link (and rejoin after disconnect)
await lobby.send('!mp password');
await sleep(500); await sleep(500);
// Invite all players from both teams (with dedup + delays) // Invite all players from both teams (with dedup + delays)