Skip to content

Commit

Permalink
Merge branch 'pr/1710' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Laské committed Jan 19, 2025
2 parents b4e9959 + 69c4e94 commit ab78e7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Pressing the start button in ColorMyWorld activity immediately shows "Congratulations! You finished!" #1691
- Broken dialog box on first screen tutorial #1418
- Sample values in Chart activity are not initialized #1695
- No Move Hint for "En passant" in Chess Activity #1707

## [1.8.0] - 2024-04-10
### Added
Expand Down
2 changes: 1 addition & 1 deletion activities/Chess.activity/js/chessGame.js
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ var ChessGame = {
// get list of possible moves for this square
var moves = [];
p4_prepare(this.state);
var allMoves = p4_parse(this.state, this.state.to_play, undefined, 0);
var allMoves = p4_parse(this.state, this.state.to_play,this.state.enpassant, 0);

for (var i = 0; i < allMoves.length; i++) {
if (p4_stringify_point(allMoves[i][1]) == square) {
Expand Down

0 comments on commit ab78e7d

Please sign in to comment.