Skip to content

Commit

Permalink
fix: soundpack not setting correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
googer committed Jan 11, 2025
1 parent 8ce19a3 commit 1afbc53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/gwater2_menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ local function create_menu(init)
slider:GetParent().dlabel = label
_soundpack_label = label
label:Dock(BOTTOM)
label:SetText(gwater2.options.read_config().menusp)
label:SetText(gwater2.options.read_config().menusp or "default")
label:SetFont("GWater2Text")
slider:GetParent():SetTall(slider:GetParent():GetTall() * 2)
slider:SetValue(soundpacks[gwater2.options.read_config().menusp])
Expand Down

0 comments on commit 1afbc53

Please sign in to comment.