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

Changes ScheduleRunnerPlugin RunMode::Loop to run on fixed interval #233

Merged
merged 2 commits into from
Aug 22, 2020

Conversation

mfrancis107
Copy link
Contributor

Calculates the execution time of the 'scheduler.run' and subtracts it from the wait time to make loop run at a more fixed interval.
If execution time is greater than wait time do not wait.

@multun
Copy link
Contributor

multun commented Aug 19, 2020

A PR enforcing formatting just got though, which is why checks are failing. You don't need to change anything (PR #234 just need to be merged before yours), sorry about that

@karroffel karroffel added the A-ECS Entities, components, systems, and events label Aug 19, 2020
@cart
Copy link
Member

cart commented Aug 22, 2020

This looks good to me. Thanks!

@cart cart merged commit 47f3a0b into bevyengine:master Aug 22, 2020
BimDav pushed a commit to BimDav/bevy that referenced this pull request Aug 26, 2020
…evyengine#233)

* Changes ScheduleRunnerPlugin RunMode::Loop to run on fixed interval

* fix formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ECS Entities, components, systems, and events
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants