From ce60895e8fa9c4c9c4c710d77c88c0d7b0609b2e Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Tue, 16 May 2023 22:23:20 +0300 Subject: [PATCH] Adjust fix map pool script --- scripts/fix-map-pools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fix-map-pools.ts b/scripts/fix-map-pools.ts index e8d2a8c32..19b7c804b 100644 --- a/scripts/fix-map-pools.ts +++ b/scripts/fix-map-pools.ts @@ -4,7 +4,7 @@ import { sql } from "~/db/sql"; const faultyTournamentTeamIds = sql .prepare( - "select tournamentTeamId from mappoolmap where tournamentteamid is not null and mode != 'SZ' group by tournamentteamid" + "select tournamentTeamId from mappoolmap where tournamentteamid is not null and mode = 'SZ' group by tournamentteamid" ) .all() .map((row) => row.tournamentTeamId);