mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user