Fixed scheduled tournaments not marking themselves as started properly

This commit is contained in:
Christian 'ketura' McCarty
2025-04-25 20:50:43 -05:00
parent c8ee8f1d54
commit 01edae1109

View File

@@ -46,8 +46,8 @@ public class ScheduledTournamentQueue extends AbstractTournamentQueue implements
if (now.isAfter(_startTime)) {
if (_players.size() >= _tournamentInfo.Parameters().minimumPlayers) {
startTournament();
} else {
_tournamentService.recordScheduledTournamentStarted(_tournamentInfo.Parameters().tournamentId);
} else {
leaveAllPlayers();
}
return true; //destroy the queue now that the tournament has started