We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b166536 commit d403d67Copy full SHA for d403d67
1 file changed
LuaMenu/widgets/snd_music_lite.lua
@@ -73,7 +73,7 @@ end
73
--------------------------------------------------------------------------------
74
75
local function SetTrackVolume(volume)
76
- if volume == 0 then
+ if not volume or volume == 0 then
77
StopTrack()
78
return
79
end
@@ -182,7 +182,7 @@ function widget:Initialize()
182
WG.LibLobby.lobby:AddListener("OnBattleAboutToStart", OnBattleAboutToStart)
183
184
WG.MusicHandler = MusicHandler
185
-
+
186
WG.Delay(DelayedInitialize, 0.1)
187
WG.Delay(DelayedInitialize, 1)
188
0 commit comments