allow local netcode multiplayer

* fix crashing when steam client not available
* allow more than 1 connected player
* disable settings persistence when in dbg
This commit is contained in:
2025-12-20 12:08:52 -05:00
parent 12c3cdc87b
commit e9f53c11e9
3 changed files with 9 additions and 4 deletions

View File

@@ -98,7 +98,7 @@ fn open_renet_server(
let server_config = bevy_replicon_renet::netcode::ServerConfig {
current_time,
max_clients: 1,
max_clients: 8,
protocol_id: 0,
authentication: bevy_replicon_renet::netcode::ServerAuthentication::Unsecure,
public_addresses: Default::default(),