From 320337567d608cfce3e873b7a7981f86f18aad3e Mon Sep 17 00:00:00 2001 From: csd4ni3l Date: Thu, 5 Feb 2026 18:31:06 +0100 Subject: [PATCH] Fix reload sound system button not replacing sound system but output stream of current sound system --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 2958986..39d90a9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -344,7 +344,7 @@ fn ui_system(mut contexts: EguiContexts, mut app_state: ResMut) -> Res .clicked() { app_state.currently_playing.clear(); - app_state.sound_system.output_stream = reload_sound(); + app_state.sound_system = reload_sound(); println!("Sucessfully reloaded sound system!"); } });