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!"); } });