This commit is contained in:
parent
32a19f24ea
commit
9984ab49fb
1 changed files with 2 additions and 2 deletions
|
|
@ -757,8 +757,8 @@ func validateChessMove(fenStr, from, to, promotion string) MoveResult {
|
|||
return result
|
||||
}
|
||||
|
||||
// Make the move
|
||||
if err := game.Move(validMove); err != nil {
|
||||
// Make the move (second arg is options, nil for default)
|
||||
if err := game.Move(validMove, nil); err != nil {
|
||||
return result
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue