Skip to content

Commit f9448c3

Browse files
committed
fix compile error in demo_bevy
1 parent 5a61ce0 commit f9448c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

demo_bevy/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use bevy_renet2::prelude::{ChannelConfig, ClientId, ConnectionConfig, SendType};
55
use serde::{Deserialize, Serialize};
66

77
#[cfg(feature = "netcode")]
8-
pub const PRIVATE_KEY: &[u8; bevy_renet2::prelude::NETCODE_KEY_BYTES] = b"an example very very secret key."; // 32-bytes
8+
pub const PRIVATE_KEY: &[u8; bevy_renet2::netcode::NETCODE_KEY_BYTES] = b"an example very very secret key."; // 32-bytes
99
#[cfg(feature = "netcode")]
1010
pub const PROTOCOL_ID: u64 = 7;
1111

0 commit comments

Comments
 (0)