Skip to content

Commit 614f51c

Browse files
authored
fix: add missing system markers (#120)
1 parent 1e0c314 commit 614f51c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ecsact/entt/detail/apply_pending.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ auto apply_pending_add(::entt::registry& registry) -> void {
1717
[&](auto entity, const pending_add<C>& comp) {
1818
registry.emplace<C>(entity, comp.value);
1919
registry.emplace<beforechange_storage<C>>(entity, comp.value, false);
20+
add_system_markers_if_needed<C>(registry, entity);
2021
}
2122
);
2223
}

0 commit comments

Comments
 (0)