diff options
Diffstat (limited to 'technic/machines/HV')
-rw-r--r-- | technic/machines/HV/init.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/technic/machines/HV/init.lua b/technic/machines/HV/init.lua index d7136b4..468932d 100644 --- a/technic/machines/HV/init.lua +++ b/technic/machines/HV/init.lua @@ -8,9 +8,11 @@ dofile(path.."/cables.lua") dofile(path.."/battery_box.lua") -- Generators -dofile(path.."/solar_array.lua") -dofile(path.."/nuclear_reactor.lua") -dofile(path.."/generator.lua") +if technic.config:get_bool("enable_producers") then + dofile(path.."/solar_array.lua") + dofile(path.."/nuclear_reactor.lua") + dofile(path.."/generator.lua") +end -- Machines dofile(path.."/quarry.lua") |