Skip to content

Commit

Permalink
BevyRenet: emit servers events in RenetReceive system set (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
UkoeHB authored Jan 5, 2024
1 parent 0aadfc8 commit 28092ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bevy_renet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ impl Plugin for RenetServerPlugin {
app.add_systems(
PreUpdate,
Self::emit_server_events_system
.in_set(RenetReceive)
.run_if(resource_exists::<RenetServer>())
.after(Self::update_system),
);
Expand Down

0 comments on commit 28092ca

Please sign in to comment.