summaryrefslogtreecommitdiff
path: root/technic/machines/MV
diff options
context:
space:
mode:
Diffstat (limited to 'technic/machines/MV')
-rw-r--r--technic/machines/MV/init.lua10
1 files changed, 6 insertions, 4 deletions
diff --git a/technic/machines/MV/init.lua b/technic/machines/MV/init.lua
index 72a98b6..bb9542d 100644
--- a/technic/machines/MV/init.lua
+++ b/technic/machines/MV/init.lua
@@ -8,11 +8,13 @@ dofile(path.."/cables.lua")
dofile(path.."/battery_box.lua")
-- Generators
-if technic.config:get_bool("enable_wind_mill") then
- dofile(path.."/wind_mill.lua")
+if technic.config:get_bool("enable_producers") then
+ if technic.config:get_bool("enable_wind_mill") then
+ dofile(path.."/wind_mill.lua")
+ end
+ dofile(path.."/generator.lua")
+ dofile(path.."/solar_array.lua")
end
-dofile(path.."/generator.lua")
-dofile(path.."/solar_array.lua")
-- Machines
dofile(path.."/alloy_furnace.lua")