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:
parent
f526609a5b
commit
64fd0338d8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user