Skip to content

Commit

Permalink
Fix public_addresses field name in the example code of the README file (
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMazB authored Jul 4, 2024
1 parent b22876c commit f8f717a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bevy_renet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ let server_config = ServerConfig {
current_time: SystemTime::now().duration_since(SystemTime::UNIX_EPOCH).unwrap(),
max_clients: 64,
protocol_id: 0,
server_addresses: vec![server_addr],
public_addresses: vec![server_addr],
authentication: ServerAuthentication::Unsecure
};
let transport = NetcodeServerTransport::new(server_config, socket).unwrap();
Expand Down

0 comments on commit f8f717a

Please sign in to comment.