aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol.rs')
-rw-r--r--src/protocol.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol.rs b/src/protocol.rs
index f8f1f62..8a83260 100644
--- a/src/protocol.rs
+++ b/src/protocol.rs
@@ -57,7 +57,7 @@ protocolize! {
pub fn protocol() -> MyProtocol {
let mut protocol = MyProtocol::default();
protocol.add_channel::<Channel1>(ChannelSettings {
- mode: ChannelMode::UnorderedUnreliable,
+ mode: ChannelMode::UnorderedReliable(Default::default()),
..Default::default()
});
protocol