diff --git a/PHI-CL/changelog.txt b/PHI-CL/changelog.txt index 80afbe6..8534a75 100644 --- a/PHI-CL/changelog.txt +++ b/PHI-CL/changelog.txt @@ -4,6 +4,7 @@ Date: 2025-05-22 Changes: - [SA] Support for default max quality setting is dropped, instead, having no quality in space age. + - [SA] Moved some of the settings of restriction into generic settings, but also dropped some. --------------------------------------------------------------------------------------------------- Version: 3.0.103 diff --git a/PHI-CL/data.lua b/PHI-CL/data.lua index e1803cc..1572359 100644 --- a/PHI-CL/data.lua +++ b/PHI-CL/data.lua @@ -458,12 +458,10 @@ if mods['space-age'] and ((settings.startup['PHI-SA'].value and settings.startup v.flow_direction = 'input-output' end - for _, v in pairs(data.raw['cargo-wagon']) do - v.quality_affects_inventory_size = true - end - - for _, v in pairs(data.raw['fluid-wagon']) do - v.quality_affects_inventory_size = true + for _, w in pairs({data.raw['cargo-wagon'], data.raw['fluid-wagon']}) do + for _, v in pairs(w) do + v.quality_affects_inventory_size = true + end end for _, v in pairs(data.raw['lab']) do