From 1afbc53bc502321b97981b9523561c81970e61b1 Mon Sep 17 00:00:00 2001 From: googer Date: Sat, 11 Jan 2025 22:42:50 +0700 Subject: [PATCH] fix: soundpack not setting correctly --- lua/gwater2_menu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/gwater2_menu.lua b/lua/gwater2_menu.lua index 5bb8e16..5c06584 100644 --- a/lua/gwater2_menu.lua +++ b/lua/gwater2_menu.lua @@ -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])