Skip to content

Commit

Permalink
Fix #532
Browse files Browse the repository at this point in the history
  • Loading branch information
yishn committed Mar 17, 2019
1 parent c9c5902 commit eb0582c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [Sabaki v0.43.1][unreleased]

**Fixed**

* Fix setting handicap stones not working

## [Sabaki v0.43.0][v0.43.0] (2019-03-16)

**Added**
Expand Down
2 changes: 1 addition & 1 deletion src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,7 @@ class App extends Component {

setting.set('game.default_komi', value)
} else if (key === 'handicap') {
let board = gametree.getBoard(tree, 0)
let board = gametree.getBoard(tree, tree.root.id)
let stones = board.getHandicapPlacement(+value)

value = stones.length
Expand Down

0 comments on commit eb0582c

Please sign in to comment.