diff options
author | Ekdohibs <nathanael.courant@laposte.net> | 2018-01-13 10:30:22 +0100 |
---|---|---|
committer | Ekdohibs <nathanael.courant@laposte.net> | 2018-01-13 10:30:22 +0100 |
commit | 215de5487bd9888efc3723e3926fcf0d8a0e6ae4 (patch) | |
tree | 96430a18fa81822bddea1749b7afd34eb415b473 | |
parent | 930c51eef954d436e559b8b67b3c682d6c0865fb (diff) |
Fix redundant_warn
-rw-r--r-- | technic/machines/switching_station.lua | 4 |
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 |