ladybird/Userland/Games/Solitaire
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
..
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Game.cpp Solitaire: Maybe fix rare crash from completing a game with TAB (#8217) 2021-06-24 09:25:01 +02:00
Game.h Solitaire: Disable filling with background color during end animation 2021-06-13 19:29:52 +01:00
main.cpp Solitaire: Only start timer when a move happens 2021-06-13 19:29:52 +01:00
Solitaire.gml Solitaire: Display high score in status bar 2021-05-18 17:57:23 +02:00