This commit is contained in:
2024-06-18 00:52:09 +09:00
parent 94a85aba53
commit 6a649371ca
2 changed files with 3 additions and 3 deletions

View File

@@ -379,10 +379,10 @@ function main.EL(source)
local min = source.min
local max = source.max
if (max - min) == 0 then
if (max - min) < 1 then
return
elseif max > 2 then
elseif ((max - min) > 0) and (min > 1) then
min = 2
end

View File

@@ -33,7 +33,7 @@ data:extend({
type = 'bool-setting',
name = 'PHI-RS',
setting_type = 'startup',
default_value = true,
default_value = false,
order = 'A6'
}, {
type = 'int-setting',