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

SystemBuilder: better handling of system creation with non-default kind while deferred #207

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

Conversation

Georgiy-Tugai
Copy link
Contributor

kind_id checks for existing phases and removes them, but the addition of the default OnUpdate phase has not been processed yet by that point (if deferred).

Special case for existing entities being passed in, because they effectively have the same issue; the system builder cannot reliably know whether a kind is going to be set on the existing entity in the next defer flush.

…nd while deferred

kind_id() checks for existing phases and removes them, but the addition of the default
OnUpdate phase has not been processed yet by that point (if deferred).

Special case for existing entities being passed in, because they effectively have the same
issue; the system builder cannot reliably know whether a kind is going to be set on the
existing entity in the next defer flush.
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