Merge branch 'songtronix/fix-singleplayer-viewdistance' into 'master'

fix: allow maximum view distance in singleplayer

See merge request veloren/veloren!1167
This commit is contained in:
Joshua Barretto 2020-07-06 09:50:44 +00:00
commit 37e6f2cceb

View File

@ -128,6 +128,7 @@ impl ServerSettings {
admins: vec!["singleplayer".to_string()], /* TODO: Let the player choose if they want
* to use admin commands or not */
persistence_db_dir,
max_view_distance: None,
..load // Fill in remaining fields from server_settings.ron.
}
}