Fix issue with network lookup not working as intended due to problem caused by previous rebase

This commit is contained in:
Zenon Seth 2024-04-21 10:57:28 +01:00
parent 09931c2da8
commit ed080f4dc2

View File

@ -72,7 +72,7 @@ function logistica.get_network_by_id_or_nil(networkId)
return networks[networkId]
end
function logistica.get_network_or_nil(pos, optMeta, withoutModifying, withoutModifying)
function logistica.get_network_or_nil(pos, optMeta, withoutModifying)
local nodeName = minetest.get_node(pos).name
if logistica.get_network_group_for_node_name(nodeName) == nil
and not logistica.GROUPS.controllers.is(nodeName) -- controllers don't have a network group, they ARE the network