Play some music on game launch

This commit is contained in:
Shane Handley 2019-10-05 02:31:24 +09:00
parent 564e000498
commit b1d775728a

View File

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