From 6876bbc95e41f953531a91af8b500af45e86cffe Mon Sep 17 00:00:00 2001 From: rnd1 Date: Thu, 5 May 2016 22:59:59 +0200 Subject: [PATCH] bug fix --- mover.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mover.lua b/mover.lua index c03e2e4..b905ddb 100644 --- a/mover.lua +++ b/mover.lua @@ -1487,7 +1487,7 @@ minetest.register_node("basic_machines:light_on", { action_on = function (pos, node,ttl) local meta = minetest.get_meta(pos); local count = tonumber(meta:get_string("infotext")) or 0; - meta:set_infotext("infotext",count+1); -- increase activate count + meta:set_string("infotext",count+1); -- increase activate count end } },