summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--technic/machines/switching_station.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/technic/machines/switching_station.lua b/technic/machines/switching_station.lua
index dcc0520..d924cb1 100644
--- a/technic/machines/switching_station.lua
+++ b/technic/machines/switching_station.lua
@@ -242,8 +242,8 @@ minetest.register_abm({
local poshash = minetest.hash_node_position(pos)
- if not technic.redundant_warn.poshash then
- technic.redundant_warn.poshash = true
+ if not technic.redundant_warn[poshash] then
+ technic.redundant_warn[poshash] = true
print("[TECHNIC] Warning: redundant switching station found near "..minetest.pos_to_string(pos))
end
return