Cristiano Magro
2024-08-27 535e04d542520f58a2db8d4d7a222b73e5c96ef1
technic/machines/switching_station.lua
@@ -117,6 +117,7 @@
end
-- Generic function to add found connected nodes to the right classification array
-- !! IMPORTANT: register/cables.lua -> clear_networks() must be kept in sync
local check_node_subp = function(network, pos, machines, sw_pos, from_below, network_id, queue)
   technic.get_or_load_node(pos)
   local name = minetest.get_node(pos).name
@@ -134,7 +135,7 @@
   --dprint(name.." is a "..machines[name])
   local meta = minetest.get_meta(pos)
   -- Normal tostring() does not have enough precision, neither does meta:set_int()
   -- Bug: Cannot use hexadecimal notation for compression (LuaJIT Windows bug, #911)
   -- Lua 5.1 bug: Cannot use hexadecimal notation for compression (see LuaJIT #911)
   meta:set_string(network.tier.."_network", string.format("%.20g", network_id))
   if     eu_type == technic.producer then