Skip to content

Commit

Permalink
Set position after fen changes
Browse files Browse the repository at this point in the history
  • Loading branch information
glinscott committed Dec 24, 2012
1 parent 7aa8c15 commit f69b7cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/boardui.js
Expand Up @@ -60,6 +60,8 @@ function UIChangeFEN() {
InitializeBackgroundEngine();

g_playerWhite = !!g_toMove;
g_backgroundEngine.postMessage("position " + GetFen());

RedrawBoard();
}
}
Expand Down

0 comments on commit f69b7cd

Please sign in to comment.