diff --git a/data/rulesets.ts b/data/rulesets.ts index fb762f0879..0f8702684b 100644 --- a/data/rulesets.ts +++ b/data/rulesets.ts @@ -1372,7 +1372,7 @@ export const Rulesets: {[k: string]: FormatData} = { hasValue: 'positive-integer', // hardcoded in sim/side onValidateRule() { - if (!this.ruleTable.has('teampreview')) { + if (!(this.ruleTable.has('teampreview') || this.ruleTable.has('teamtypepreview'))) { throw new Error(`The "Picked Team Size" rule${this.ruleTable.blame('pickedteamsize')} requires Team Preview.`); } },