Commit 925fc6cf authored by nanahira's avatar nanahira

fix

parent b00b1f56
Pipeline #43368 passed with stages
in 3 minutes and 31 seconds
......@@ -24,7 +24,10 @@ export class LockDeckService {
constructor(private ctx: Context) {}
async init() {
if (!this.ctx.config.getBoolean('TOURNAMENT_MODE_CHECK_DECK')) {
if (
!this.ctx.config.getBoolean('TOURNAMENT_MODE') ||
!this.ctx.config.getBoolean('TOURNAMENT_MODE_CHECK_DECK')
) {
return;
}
......
......@@ -267,7 +267,10 @@ export class LegacyApiDeckService {
if (event.expectedDeck !== undefined) {
return current;
}
if (!this.ctx.config.getBoolean('TOURNAMENT_MODE_CHECK_DECK')) {
if (
!this.ctx.config.getBoolean('TOURNAMENT_MODE') ||
!this.ctx.config.getBoolean('TOURNAMENT_MODE_CHECK_DECK')
) {
return current;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment