diff --git a/cmd/tins2021/appcontext.go b/cmd/tins2021/appcontext.go index c6b1769..a2cf0c6 100644 --- a/cmd/tins2021/appcontext.go +++ b/cmd/tins2021/appcontext.go @@ -13,6 +13,7 @@ type appContext struct { Settings *tins2021.Settings Score *tins2021.ScoreState + Virtual *VirtualControls Debug bool StarTexture tins2021.AnimatedTexture @@ -192,7 +193,7 @@ func (app *appContext) switchToMenuMusic(ctx ui.Context) { if app.MenuMusic != nil { return } - app.MenuMusic, _ = app.Audio.PlayMusic("song_menu.mp3", func(m *Music) {}) + app.MenuMusic, _ = app.Audio.PlayMusic("song_menu.mp3", func(m *Music) { m.AutoRepeat = true }) gameMusic := app.GameMusic app.GameMusic = nil if gameMusic != nil {