mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-30 10:13:04 +05:00
fix: enforce safe minimum equitherm exponent
This commit is contained in:
1 parent
86adbc0db7
commit
62d40bdbf0
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -2656,7 +2656,7 @@ static SettingResult applySetting(EquithermSettings& dst, std::string_view path,
|
||||
return {};
|
||||
}
|
||||
|
||||
if (value <= 0.01f || value > 2.0f) {
|
||||
if (value < 0.2f || value > 2.0f) {
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user