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
2c28d0fb29
commit
e78328f5cc
@ -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…
x
Reference in New Issue
Block a user