Skip to content

Commit f685080

Browse files
authored
Merge pull request #853 from Porkch0p/musictamer
Fix volume resetting when music track changes
2 parents fc8a1df + c526456 commit f685080

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)