20e5222148
Build and Deploy / build-and-push (push) Successful in 4m51s
The 'No Moves Available' dialog's New Game button and keyboard shortcut were firing NewGameRequestEvent::default() (confirmed: false). When the player has made moves, handle_new_game sees needs_confirm = true, then hits the scrims.is_empty() guard — which is false because the GameOver- Screen itself is a ModalScrim — and silently returns without starting a new game or showing the confirm dialog. Fix: set confirmed: true in both handle_game_over_input (N/Escape key) and handle_game_over_button_input (click). The game is already stuck so the abandon-confirmation guard does not apply, as the doc comment on the button handler has always said. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
28 MiB
28 MiB
The file is too large to be shown.
View Raw