This commit is contained in:
2026-09-02 19:44:14 +09:00
parent 6406f71724
commit 3a9aa8e19c
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -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,
+1 -1
View File
@@ -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',