From 6a649371ca2c4563da3a416c254cb4174aa1d200 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Tue, 18 Jun 2024 00:52:09 +0900 Subject: [PATCH] . --- PHI-CL/main.lua | 4 ++-- PHI-CL/settings.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PHI-CL/main.lua b/PHI-CL/main.lua index 36ace8c..3481d2f 100644 --- a/PHI-CL/main.lua +++ b/PHI-CL/main.lua @@ -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 diff --git a/PHI-CL/settings.lua b/PHI-CL/settings.lua index 0b6f78b..db65183 100644 --- a/PHI-CL/settings.lua +++ b/PHI-CL/settings.lua @@ -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',