From eba6f42678dbdb4837a30908b0627bee6f35440a Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Thu, 2 Feb 2017 21:36:23 -0500 Subject: update moreblocks, technic, roads, worldedit --- trafficlight/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trafficlight/init.lua') diff --git a/trafficlight/init.lua b/trafficlight/init.lua index 2b2038b..4a1e24d 100644 --- a/trafficlight/init.lua +++ b/trafficlight/init.lua @@ -104,11 +104,11 @@ local function ped_on_flash_end(pos,record) obj:remove() end end + local timer = minetest.get_node_timer(pos) if not record then timer:stop() return end - local timer = minetest.get_node_timer(pos) local meta = minetest.get_meta(pos) local lastflashtime = meta:get_int("lastflashtime") local twoflashesago = meta:get_int("twoflashesago") -- cgit v1.2.3