diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 4ff02ce..8e243f2 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -7,3 +7,4 @@ - Fix critical bug in Workshop that deleted worlds and DLCs - Fix random disconnects on Windows - Show multiplayer status on Discord RPC +- Fix skipping intro, fullscreen and legacy mode not importing in Settings (thanks Ryuzaki!) diff --git a/src-tauri/src/config.rs b/src-tauri/src/config.rs index 0903963..160a726 100644 --- a/src-tauri/src/config.rs +++ b/src-tauri/src/config.rs @@ -31,6 +31,7 @@ pub fn load_config_raw(app: AppHandle) -> AppConfig { music_vol: Some(50), sfx_vol: Some(100), legacy_mode: Some(false), + skip_intro: Some(false), mangohud_enabled: None, saved_servers: None, extra_launch_args: None, diff --git a/src-tauri/src/types.rs b/src-tauri/src/types.rs index 04d5eef..f51e828 100644 --- a/src-tauri/src/types.rs +++ b/src-tauri/src/types.rs @@ -53,6 +53,7 @@ pub struct AppConfig { pub music_vol: Option, pub sfx_vol: Option, pub legacy_mode: Option, + pub skip_intro: Option, pub mangohud_enabled: Option, pub saved_servers: Option>, pub extra_launch_args: Option>, diff --git a/src/components/views/SettingsView.tsx b/src/components/views/SettingsView.tsx index fa3f51f..76f320c 100644 --- a/src/components/views/SettingsView.tsx +++ b/src/components/views/SettingsView.tsx @@ -521,6 +521,7 @@ const SettingsView = memo(function SettingsView() { playPressSound(); try { await TauriService.importSettings(); + window.location.reload(); } catch (e) { if (e !== "CANCELED") console.error(e); }