mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Add play_music call to audiofrontend
This commit is contained in:
@ -34,7 +34,7 @@ impl PlayState for MainMenuState {
|
||||
// Used for client creation.
|
||||
let mut client_init: Option<ClientInit> = None;
|
||||
|
||||
let music = global_state.audio.play_sound("voxygen.audio.soundtrack.veloren_title_tune-3".to_string());
|
||||
let music = global_state.audio.play_music("voxygen.audio.soundtrack.veloren_title_tune-3".to_string());
|
||||
global_state.audio.stop_channel(music, Fader::fade_out(10.0));
|
||||
|
||||
loop {
|
||||
|
Reference in New Issue
Block a user