Skip to content

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

Open
Georgiy-Tugai wants to merge 1 commit intoIndra-db:mainfrom
Georgiy-Tugai:deferred-system-kind
Open

SystemBuilder: better handling of system creation with non-default kind while deferred#207
Georgiy-Tugai wants to merge 1 commit intoIndra-db:mainfrom
Georgiy-Tugai:deferred-system-kind

Conversation

@Georgiy-Tugai
Copy link
Copy Markdown
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.
@Georgiy-Tugai Georgiy-Tugai force-pushed the deferred-system-kind branch from b0109d7 to db52552 Compare March 3, 2025 09:49
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