Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent crash when a player runs out of time #481

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wjgr2004
Copy link

@wjgr2004 wjgr2004 commented Dec 27, 2024

The play screen currently crashes when a player runs out of time because it goes into an infinite loop updating the header;
this PR fixes that by updating the result directly.

I've also removed redundantant code that clears the interval twice and prevented the time from being decremented after the game has ended.

Closes #464
Closes #455
Closes #430
Closes #366

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when time run out Crash Crash on lose on time Error #185
1 participant