Skip to content

Commit

Permalink
Update bevy_replicon_renet/src/bevy_renet.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
UkoeHB authored Jun 28, 2024
1 parent 4def3b2 commit 7050dfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bevy_replicon_renet/src/bevy_renet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ impl Plugin for RenetClientPlugin {
fn build(&self, app: &mut App) {
app.add_systems(
PreUpdate,
// Note: This runs before `RenetReceive`. See `NetcodeClientPlugin`.
Self::update_system.run_if(resource_exists::<RenetClient>),
);
}
Expand Down

0 comments on commit 7050dfd

Please sign in to comment.