Skip to content

Fix negative delta_time bug causing excessive sleep duration#58

Open
TimeLooper wants to merge 1 commit into
alexsilva:windowsfrom
TimeLooper:windows
Open

Fix negative delta_time bug causing excessive sleep duration#58
TimeLooper wants to merge 1 commit into
alexsilva:windowsfrom
TimeLooper:windows

Conversation

@TimeLooper
Copy link
Copy Markdown

Fix the bug caused by time backward adjustment that makes delta_time negative, which would cause time_to_sleep to become a very large number and make the program sleep too long.

…negative, which would cause time_to_sleep to become a very large number and make the program sleep too long
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.

1 participant