Skip to content

Commit

Permalink
fix: don't skip tournament lobby checks in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sgfost committed Oct 26, 2023
1 parent 6ed5ef2 commit a0cf698
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/src/services/tournament.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { getLogger } from "@port-of-mars/server/settings";
import { BaseService } from "@port-of-mars/server/services/db";
import { TournamentRoundDate } from "@port-of-mars/server/entity/TournamentRoundDate";
import { TournamentRoundInviteStatus, TournamentStatus } from "@port-of-mars/shared/types";
import { isDev } from "@port-of-mars/shared/settings";

const logger = getLogger(__filename);

Expand Down Expand Up @@ -302,9 +301,6 @@ export class TournamentService extends BaseService {
if (!gameDates) {
gameDates = await this.getScheduledDates(tournamentRound);
}
if (isDev()) {
return true;
}
if (gameDates.length === 0) {
return false;
}
Expand Down

0 comments on commit a0cf698

Please sign in to comment.