Skip to content

Commit

Permalink
feat: Allow readonly of stream components even when toggled
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelwan committed Oct 31, 2024
1 parent 157e139 commit aa686c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rt_entt_codegen/core/print_sys_exec.cc
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,10 @@ static auto add_stream_component_if_needed(
continue;
}

if(capability == ECSACT_SYS_CAP_READONLY) {
continue;
}

auto comp_ident = cpp_identifier(decl_full_name(comp_id));
auto run_on_stream_str =
std::format("::ecsact::entt::detail::run_on_stream<{}>", comp_ident);
Expand Down

0 comments on commit aa686c7

Please sign in to comment.