ladybird/Userland/Games
Sam Atkins f2d6cac692
Solitaire: Maybe fix rare crash from completing a game with TAB (#8217)
The crash happens very rarely and is hard to reproduce so it is
hard to know for certain, but I am confident this fixes it.

I previously delayed the start of the game-over animation by one
frame, but neglected to check m_start_game_over_animation_next_frame
wasn't set. This means multiple calls to start_game_over_animation()
on the same frame (or rather, before the first timer_event) would
each call Object::start_timer(). Now that we do check the flag,
that should no longer be possible.

Fixes #8122.
2021-06-24 09:25:01 +02:00
..
2048 Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Breakout Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Chess Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
FlappyBug FlappyBug: Standardize on "high score" rather than "highscore" 2021-06-22 23:05:10 +02:00
GameOfLife Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Hearts Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Minesweeper Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Pong Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Snake Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Solitaire Solitaire: Maybe fix rare crash from completing a game with TAB (#8217) 2021-06-24 09:25:01 +02:00
CMakeLists.txt FlappyBug: Introduce a new Flappy Bug game 2021-06-20 10:54:27 +01:00