Added view distance configuration

Former-commit-id: b3c7a21631ce0c6b058f25aede0e3e2895a16f81
This commit is contained in:
Joshua Barretto
2019-05-19 01:45:02 +01:00
parent 0349461533
commit 3508e4afcb
13 changed files with 65 additions and 39 deletions

View File

@ -106,7 +106,7 @@ impl PlayState for MainMenuState {
// Don't try to connect if there is already a connection in progress.
client_init = client_init.or(Some(ClientInit::new(
(server_address, DEFAULT_PORT, false),
(comp::Player::new(username.clone()), 300),
comp::Player::new(username.clone(), Some(10)),
false,
)));
}