Skip to content

Fix hang when Game::TICKS_PER_SECOND is 0#99

Merged
hecrj merged 3 commits into
masterfrom
fix/no-ticks-per-second
Sep 23, 2019
Merged

Fix hang when Game::TICKS_PER_SECOND is 0#99
hecrj merged 3 commits into
masterfrom
fix/no-ticks-per-second

Conversation

@hecrj

@hecrj hecrj commented Sep 23, 2019

Copy link
Copy Markdown
Owner

Fixes #96.

The game will still tick in this case after approximately 584942417355.072 years in most platforms. I think this is acceptable.

@hecrj hecrj added the bug Something isn't working label Sep 23, 2019
@hecrj hecrj added this to the 0.4.0 milestone Sep 23, 2019
@hecrj hecrj self-assigned this Sep 23, 2019
@hecrj hecrj merged commit 7197ea3 into master Sep 23, 2019
@hecrj hecrj deleted the fix/no-ticks-per-second branch September 24, 2019 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TICKS_PER_SECOND = 0 pegs the CPU

1 participant