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 1767878 commit cc4f85fCopy full SHA for cc4f85f
1 file changed
LuaMenu/widgets/snd_music_lite.lua
@@ -74,7 +74,7 @@ end
74
--------------------------------------------------------------------------------
75
76
local function SetTrackVolume(volume)
77
- if volume == 0 then
+ if not volume or volume == 0 then
78
StopTrack()
79
return
80
end
@@ -183,7 +183,7 @@ function widget:Initialize()
183
WG.LibLobby.lobby:AddListener("OnBattleAboutToStart", OnBattleAboutToStart)
184
185
WG.MusicHandler = MusicHandler
186
-
+
187
WG.Delay(DelayedInitialize, 0.1)
188
WG.Delay(DelayedInitialize, 1)
189
0 commit comments