From 10307f23a78b33af50dc4a5f3d1baafb4ee4b0d9 Mon Sep 17 00:00:00 2001
From: Maciej 'agaran' Pijanka <agaran@pld-linux.org>
Date: Thu, 16 Mar 2017 00:00:22 +0100
Subject: [PATCH] Do not run converters twice.

---
 technic/machines/other/init.lua |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/technic/machines/other/init.lua b/technic/machines/other/init.lua
index 766e0eb..f4a82f0 100644
--- a/technic/machines/other/init.lua
+++ b/technic/machines/other/init.lua
@@ -2,7 +2,14 @@
 
 -- mesecons and tubes related
 dofile(path.."/injector.lua")
-dofile(path.."/node_breaker.lua")
-dofile(path.."/deployer.lua")
 dofile(path.."/constructor.lua")
-dofile(path.."/frames.lua")
+
+if technic.config:get_bool("enable_frames") and minetest.get_modpath("mesecons_mvps") ~= nil then
+	dofile(path.."/frames.lua")
+end
+
+-- Coal-powered machines
+dofile(path.."/coal_alloy_furnace.lua")
+dofile(path.."/coal_furnace.lua")
+
+dofile(path.."/anchor.lua")

--
Gitblit v1.8.0