The intro has a counter which is used to fade it out when a key is pressed.
When the counter reaches 0 the intro state gets changed to DONE.
When a key is still pressed, the function EndIntro will be called and it checks if the
intro state is not FADEOUT, but not for DONE, so it will restart the fade out sequence.
To repoduce this just hold a key pressed when ending the intro, as long as the key is pressed
the intro will always restart the fading.
Could you choose a more descriptive commit title please? A title containing only the word "fixed" doesn't really say anything about what the commit does.
This fixes a bug:
The intro has a counter which is used to fade it out when a key is pressed. When the counter reaches 0 the intro state gets changed to DONE. When a key is still pressed, the function EndIntro will be called and it checks if the intro state is not FADEOUT, but not for DONE, so it will restart the fade out sequence.
To repoduce this just hold a key pressed when ending the intro, as long as the key is pressed the intro will always restart the fading.