From 6f982d4308b06a79f76019a369e445c7ccb45753 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Tue, 21 Nov 2023 22:40:57 +0100 Subject: [PATCH] change settings --- kubi/src/settings.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/kubi/src/settings.rs b/kubi/src/settings.rs index d076a76..c20fe53 100644 --- a/kubi/src/settings.rs +++ b/kubi/src/settings.rs @@ -27,9 +27,13 @@ impl Default for GameSettings { fullscreen: None, msaa: Some(4), 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., - 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), } } }