Skip to content

Commit 5843225

Browse files
committed
Fix channel configuration typo in bevy plugin
1 parent d130c35 commit 5843225

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v0.2.1
2+
3+
### Fixed
4+
5+
- `crystalorb-bevy-networking-turbulence` plugin used the wrong settings resource for registering the `Timestamped<Snapshot>` message channel (it used `CommandChannelSettings` instead of `SnapshotChannelSettings`), causing both incorrect configuration as well as panic, since the same channel number will be used twice.
6+
17
## v0.2.0
28

39
### Fixed

crates/crystalorb-bevy-networking-turbulence/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ impl Clone for ClockSyncChannelSettings {
185185
pub fn network_setup<WorldType: World>(
186186
mut net: ResMut<NetworkResource>,
187187
command_channel_settings_res: Res<CommandChannelSettings>,
188-
snapshot_channel_settings_res: Res<CommandChannelSettings>,
188+
snapshot_channel_settings_res: Res<SnapshotChannelSettings>,
189189
clocksync_channel_settings_res: Res<ClockSyncChannelSettings>,
190190
) {
191191
// Ugly consequence of set_channels_builder not accepting a FnOnce.

0 commit comments

Comments
 (0)