Skip to content

Commit c526456

Browse files
committed
Fix volume resetting when music track changes
1 parent 6bdaa6a commit c526456

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

LuaMenu/widgets/snd_music_lite.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ local function StartTrack(trackName, volume)
5454
end
5555
Spring.StopSoundStream()
5656
Spring.PlaySoundStream(trackName, volume)
57+
Spring.SetSoundStreamVolume(volume)
5758
playingTrack = true
5859
end
5960

0 commit comments

Comments
 (0)