Skip to content

Commit

Permalink
Fix 0 komi bot challenge errors
Browse files Browse the repository at this point in the history
  • Loading branch information
anoek committed Dec 17, 2024
1 parent 3e86f12 commit e9780bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/models/challenges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ declare namespace rest_api {
height: number;
handicap: number;
komi_auto: KomiOption;
komi: number;
komi?: number;
disable_analysis: boolean;
initial_state: any; // TBD
private: boolean;
Expand Down
1 change: 0 additions & 1 deletion src/views/Play/QuickMatch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,6 @@ export function QuickMatch(): JSX.Element {
height: board_size === "9x9" ? 9 : board_size === "13x13" ? 13 : 19,
handicap: handicaps === "disabled" ? 0 : -1,
komi_auto: "automatic",
komi: 0,
disable_analysis: false,
initial_state: null,
private: false,
Expand Down

0 comments on commit e9780bc

Please sign in to comment.