OpenHack
OpenHack copied to clipboard
pause during complete still shows lvl complete animation after restarting lvl
Description
Restarting lvl during lvl complete animation with pause during complete mode on, still shows a lvl complete animation during playing. Also, it breaks the percentage bar. After pausing and restarting the lvl during lvl complete animation, the lvl thinks that the moment that it showed the animation is the end of a lvl and the percentage bar works only to this point (it is better described in screenshots)
To Reproduce
pause during lvl complete animation and hit restart lvl button or click r.
Expected behavior
Not showing lvl complete animation after restarting the lvl, and not breaking the percentage bar
Screenshots
Observe that the percentage bar still works as intened.
And now, the lvl thinks that this is the end of a lvl because the percentages goes up to 100% to this exact point in a lvl from now on
And now, every time I play this lvl, the percentages are broken, even after restarting the game.