Zefram
2014-07-25 d59055dd2b1a03449ff11318a2f210d37dd7e76a
technic/machines/switching_station.lua
@@ -80,6 +80,7 @@
end
local load_position = function(pos)
   if minetest.get_node_or_nil(pos) then return end
   local vm = VoxelManip()
   local MinEdge, MaxEdge = vm:read_from_map(pos, pos)
end
@@ -359,9 +360,10 @@
         if machines[node.name] and switching_station_timeout_count(pos, tier) then
            local nodedef = minetest.registered_nodes[node.name]
            if nodedef and nodedef.technic_disabled_machine_name then
               print(nodedef.technic_disabled_machine_name)
               node.name = nodedef.technic_disabled_machine_name
               minetest.swap_node(pos, node)
            elseif nodedef and nodedef.technic_on_disable then
               nodedef.technic_on_disable(pos, node)
            end
            if nodedef then
               local meta = minetest.get_meta(pos)