Skip to content

Conversation

@TheMadSword
Copy link
Contributor

@TheMadSword TheMadSword commented Dec 8, 2023

-Remove an unused sort()

Relates to #14139 and PR #14165

Notes :

  • I can cut half the option of the select (the opposite color possible en passant), as it is safe to do so and the bug mentioned in PR 14165 cannot occur due to enPassant pawn being reset when changing color.

  • Sort isn't used as the values checked against don't need to be sorted anymore (since they are not calculated to be shown, but to be compared against).

@TheMadSword TheMadSword changed the title -Remove half unused En Passant options under Safari -Remove half unused En Passant options visible under Safari Dec 8, 2023
@TheMadSword TheMadSword changed the title -Remove half unused En Passant options visible under Safari -Board editor : Remove half unused En Passant options visible under Safari Dec 8, 2023
@ornicar ornicar merged commit b1ab9ed into lichess-org:master Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants