diff --git a/PHI-CL/control/calc.lua b/PHI-CL/control/calc.lua index 696cc71..e10aa13 100644 --- a/PHI-CL/control/calc.lua +++ b/PHI-CL/control/calc.lua @@ -35,8 +35,7 @@ end local calc_function = setmetatable({ ln = math.log, - log = function(x) return math.log(x, 10) end, - log2 = function(x) return math.log(x, 2) end, + log = function(x, b) return math.log(x, b or 10) end, round = function(x) return x >= 0 and math.floor(x + 0.5) or math.ceil(x - 0.5) end, trunc = function(x) return (math.modf(x)) end, sign = function(x) return x > 0 and 1 or (x < 0 and -1 or 0) end, diff --git a/PHI-CL/settings.lua b/PHI-CL/settings.lua index 8090479..77b8d44 100644 --- a/PHI-CL/settings.lua +++ b/PHI-CL/settings.lua @@ -171,7 +171,7 @@ data:extend({ setting_type = 'startup', default_value = false, localised_name = {'phi-cl.setting-category-color', 'CT', {'phi-cl.enable'}, {'mod-setting-name.PHI-CT'}}, - localised_description = {'', {'phi-cl.setting-change-color', '[25] A19 C3 U3'}}, + localised_description = {'', {'phi-cl.setting-change-color', '[26] A20 C3 U3'}}, order = 'E00' }, { type = 'string-setting',