Skip to content

Commit

Permalink
cleaning (typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaorahi committed Nov 18, 2023
1 parent 60b2a9a commit c9a6377
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/powered_goban.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,9 @@ function winrate_from_game(engine_id) {
if (engine_id || s === 0 || !truep(score_without_komi_at(s - 1))) {return}
merge(cur, {gain})
s <= game.move_count && merge_to_stone_at(cur, {gain})
record_panished(gain)
record_punished(gain)
}
const record_panished = gain => {
const record_punished = gain => {
const prev_gain = (prev || {}).gain
truep(prev_gain) &&
// prev_punished = prev_loss - cur_loss
Expand Down

0 comments on commit c9a6377

Please sign in to comment.