chrisboyle / sgtpuzzles

Android port of Simon Tatham's Puzzles
https://chris.boyle.name/puzzles
Other
597 stars 168 forks source link

"Completed" popup shows on Inertia screen entry when 0 gems are left even when player is dead #649

Closed Not-A-Normal-Robot closed 6 months ago

Not-A-Normal-Robot commented 7 months ago

Bug description The "completed" popup will appear if you exit the Settings screen into the Inertia screen where you've gotten all the gems, but the player is dead.

To Reproduce Steps to reproduce the behavior:

  1. Collect the final gem in Inertia and hit a mine in the same move
  2. Press the "Game" drop-down and press "Settings"
  3. Go back to the game by pressing the back button in the top left
  4. The "completed!" popup appears on the bottom of the screen

Expected behavior When you exit out of the Settings screen, the "completed!" popup should not appear.

Screenshots

Screenshot_2024-03-01-15-36-59-684_name.boyle.chris.sgtpuzzles.jpg

Version info (optional, but sometimes helpful)