play_by_seed fires NewGameRequestEvent { confirmed: false } — forces unwanted confirm dialog #27
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
File
solitaire_engine/src/play_by_seed_plugin.rslines 411–415Description
When the player types a seed and presses Play,
handle_confirmfiresNewGameRequestEvent { confirmed: false }. This causeshandle_new_gameto spawn a second "Abandon current game?" dialog on top of the already-dismissed Play-by-Seed dialog. The player must confirm twice to start the game they explicitly requested.The player already made an affirmative choice by clicking Play in the seed dialog —
confirmed: falsecontradicts the user's intent.Fix
Set
confirmed: trueinhandle_confirmso the new game starts immediately after the seed dialog is dismissed.