Skip to content

fix top player promotion selector if canPromoteToKing is enabled#89

Merged
veloce merged 1 commit intolichess-org:mainfrom
HaonRekcef:fix-fix-antichess-king-promotion
Mar 10, 2026
Merged

fix top player promotion selector if canPromoteToKing is enabled#89
veloce merged 1 commit intolichess-org:mainfrom
HaonRekcef:fix-fix-antichess-king-promotion

Conversation

@HaonRekcef
Copy link
Contributor

@HaonRekcef HaonRekcef commented Mar 10, 2026

Noticed a mistake in yesterdays PR. If the top player promotes it wouldn't show all 5 pieces correctly. I fixed the logic and added more tests cases and tested manually in the app.

@HaonRekcef HaonRekcef changed the title fix top player promotion selector if canPromoteToKingIsEnabled fix top player promotion selector if canPromoteToKing is enabled Mar 10, 2026
Copy link
Collaborator

@veloce veloce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@veloce veloce merged commit f1361d6 into lichess-org:main Mar 10, 2026
1 check passed
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