Add sink twice to second PlayingSound push cuz rust is dumb shit and doesnt understand im already returning

This commit is contained in:
csd4ni3l
2026-02-05 20:46:10 +01:00
parent ff71f6f21a
commit 58deb34135

View File

@@ -257,7 +257,8 @@ fn play_sound(file_path: String, app_state: &mut AppState) {
app_state.currently_playing.push(PlayingSound { app_state.currently_playing.push(PlayingSound {
file_path: file_path.clone(), file_path: file_path.clone(),
length, length,
sink sink,
sink // sink twice cuz rust is dumb shit and doesnt understand im already returning
}) })
} }