From ed080f4dc25563d26b2183711cc04db3fbaf4b02 Mon Sep 17 00:00:00 2001 From: Zenon Seth Date: Sun, 21 Apr 2024 10:57:28 +0100 Subject: [PATCH] Fix issue with network lookup not working as intended due to problem caused by previous rebase --- logic/network_logic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/network_logic.lua b/logic/network_logic.lua index c72b2cf..7ac7c2e 100644 --- a/logic/network_logic.lua +++ b/logic/network_logic.lua @@ -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