mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Removed send_msg in Action::Load(path) => ... due to non-existed receiver.
This commit is contained in:
parent
cdda20a1e8
commit
de9d05999d
@ -166,7 +166,6 @@ impl MonoMode for AudioPlayer {
|
||||
Action::Load(path) => {
|
||||
if playback.stream.empty() {
|
||||
playback.play_from(&path);
|
||||
send_msg(&mut tx, AudioPlayerMsg::AudioPlay);
|
||||
}
|
||||
}
|
||||
Action::Stop => playback.stream.stop(),
|
||||
|
Loading…
Reference in New Issue
Block a user