summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorDiego Martínez <kaeza@users.noreply.github.com>2017-03-01 07:26:20 -0300
committerAuke Kok <sofar+github@foo-projects.org>2017-03-14 21:57:01 -0700
commitf5e6a7d18149fbd6ae638165f354d4da089e8625 (patch)
tree4836b94e1b6d63ffe5db1ed2262da20821151c05 /init.lua
parent6a2fa5a3e49ce3612e857b39a0c12ea8420e6795 (diff)
Change to `.`.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index 7f9696e..f6050b1 100644
--- a/init.lua
+++ b/init.lua
@@ -11,12 +11,12 @@ dofile(modpath .. "/internal.lua")
dofile(modpath .. "/wires_common.lua")
dofile(modpath .. "/wire_std.lua")
-function digilines:receptor_send(pos, rules, channel, msg)
+function digilines.receptor_send(pos, rules, channel, msg)
local checked = {}
checked[minetest.hash_node_position(pos)] = true -- exclude itself
for _,rule in ipairs(rules) do
- if digilines:rules_link(pos, digilines:addPosRule(pos, rule)) then
- digilines:transmit(digilines:addPosRule(pos, rule), channel, msg, checked)
+ if digilines.rules_link(pos, digilines.addPosRule(pos, rule)) then
+ digilines.transmit(digilines.addPosRule(pos, rule), channel, msg, checked)
end
end
end