1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-13 13:49:33 +02:00

Add ability to make spaghetti setting a no-op, otherwise the config overrides dungeons settings for research

This commit is contained in:
Eric Anderson 2022-03-06 23:36:18 -08:00
parent f526609a5b
commit 64fd0338d8

View File

@ -82,6 +82,9 @@ end
local function spaghett()
local spaghetti = this.gui_config.spaghett
if spaghetti.noop then
return
end
if spaghetti.enabled then
for _, f in pairs(game.forces) do
if f.technologies['logistic-system'].researched then