From 388d2ad402df07378f53b0962ac729a51c05c8b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Mon, 11 Jul 2022 10:44:59 +0200 Subject: [PATCH] undo --- mesecons_wires/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mesecons_wires/init.lua b/mesecons_wires/init.lua index 9eb1b58..c7669b3 100644 --- a/mesecons_wires/init.lua +++ b/mesecons_wires/init.lua @@ -123,7 +123,8 @@ local selectionbox = } -- go to the next nodeid (ex.: 01000011 --> 01000100) -local nid_inc = function (nid) +local nid_inc = function() end +nid_inc = function (nid) local i = 0 while nid[i-1] ~= 1 do nid[i] = (nid[i] ~= 1) and 1 or 0