diff --git a/luamods/wolfadmin/util/settings.lua b/luamods/wolfadmin/util/settings.lua index 409eba0..3b7789f 100644 --- a/luamods/wolfadmin/util/settings.lua +++ b/luamods/wolfadmin/util/settings.lua @@ -67,9 +67,9 @@ function settings.load() local cvar = et.trap_Cvar_Get(setting) if type(default) == "string" then - data[setting] = (cvar ~= nil and tostring(cvar) or default) + data[setting] = (cvar ~= "" and tostring(cvar) or default) elseif type(default) == "number" then - data[setting] = (cvar ~= nil and tonumber(cvar) or default) + data[setting] = (cvar ~= "" and tonumber(cvar) or default) end end