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

Schedule systems after input #95

Merged
merged 1 commit into from
Nov 18, 2023
Merged

Schedule systems after input #95

merged 1 commit into from
Nov 18, 2023

Conversation

nezuo
Copy link
Contributor

@nezuo nezuo commented Nov 18, 2023

Bevy's input systems run in PreUpdate in the InputSystem set. This ensures that the ReadInputs schedule runs after input is updated for the frame.

Copy link
Collaborator

@johanhelsing johanhelsing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@johanhelsing johanhelsing added the bug Something isn't working label Nov 18, 2023
@johanhelsing johanhelsing merged commit 03d11a1 into gschup:main Nov 18, 2023
1 check passed
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.

3 participants