change settings

This commit is contained in:
griffi-gh 2023-11-21 22:40:57 +01:00
parent 3069c1c72f
commit 6f982d4308

View file

@ -27,9 +27,13 @@ impl Default for GameSettings {
fullscreen: None, fullscreen: None,
msaa: Some(4), msaa: Some(4),
max_anisotropy: Some(16), max_anisotropy: Some(16),
render_distance: 6, render_distance: match true {
cfg!(debug_assertions) => 5,
cfg!(target_os = "android") => 6,
#[allow(unreachable_patterns)] _ => 8,
},
mouse_sensitivity: 1., mouse_sensitivity: 1.,
debug_draw_current_chunk_border: cfg!(not(target_os = "android")) && cfg!(debug_assertions), debug_draw_current_chunk_border: false, //cfg!(not(target_os = "android")) && cfg!(debug_assertions),
} }
} }
} }