Skip to content

Commit

Permalink
Fix system ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
james-j-obrien committed Sep 15, 2024
1 parent f234440 commit 61f825c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/hyperion/src/egress/player_join/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ impl Module for PlayerJoinModule {
&MinecraftWorld($),
&Compose($),
)
.kind::<flecs::pipeline::OnStore>()
.kind::<flecs::pipeline::PreUpdate>()
.each(move |(tasks, comms, blocks, compose)| {
let span = tracing::trace_span!("joins");
let _enter = span.enter();
Expand Down
2 changes: 1 addition & 1 deletion crates/hyperion/src/ingress/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ impl Module for IngressModule {
&mut Metadata,
&mut ActiveAnimation,
)
.kind::<flecs::pipeline::PreStore>()
.kind::<flecs::pipeline::OnUpdate>()
.write::<PendingChanges>()
.multi_threaded()
.tracing_each_entity(
Expand Down
2 changes: 0 additions & 2 deletions crates/hyperion/src/simulation/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ fn position_and_on_ground(
) -> anyhow::Result<()> {
let pkt = play::PositionAndOnGroundC2s::decode(&mut data)?;

// debug!("position and on ground packet: {:?}", pkt);

let play::PositionAndOnGroundC2s { position, .. } = pkt;

change_position_or_correct_client(query, position.as_vec3());
Expand Down

0 comments on commit 61f825c

Please sign in to comment.