Get sound effects working

This commit is contained in:
Louis Pearson
2019-09-05 03:03:24 -06:00
parent 529cb40dc4
commit 2bca20cf69
4 changed files with 66 additions and 27 deletions

View File

@ -34,8 +34,6 @@ impl PlayState for MainMenuState {
// Used for client creation.
let mut client_init: Option<ClientInit> = None;
let music = global_state.audio.play_music("voxygen.audio.soundtrack.veloren_title_tune-3".to_string());
loop {
// Handle window events.
for event in global_state.window.fetch_events() {