mirror of
https://github.com/mt-mods/nixie_tubes.git
synced 2024-12-04 21:23:47 +01:00
remove some debug statements
This commit is contained in:
parent
4c751a3aea
commit
995a17789f
3
init.lua
3
init.lua
@ -48,13 +48,12 @@ local on_digiline_receive_std = function(pos, node, channel, msg)
|
||||
end
|
||||
|
||||
local on_digiline_receive_deca = function(pos, node, channel, msg)
|
||||
print("called digiline_receive_deca")
|
||||
|
||||
local meta = minetest.get_meta(pos)
|
||||
local setchan = meta:get_string("channel")
|
||||
if setchan ~= channel then return end
|
||||
tubenum = string.gsub(node.name, "nixie_tubes:decatron_", "")
|
||||
local num = tonumber(msg)
|
||||
print(dump(msg))
|
||||
|
||||
if msg == "off" or (num and (num >= 0 and num <= 9)) then
|
||||
minetest.swap_node(pos, { name = "nixie_tubes:decatron_"..msg, param2 = node.param2})
|
||||
|
Loading…
Reference in New Issue
Block a user