diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-02-02 21:36:23 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-02-02 21:36:23 -0500 |
commit | eba6f42678dbdb4837a30908b0627bee6f35440a (patch) | |
tree | 7bafe1aaa495c1a1fb4e415ec3167739ef9a6cd2 /trafficlight | |
parent | c699d3082337bcec6cdf043fa0aa185ae9e0d847 (diff) | |
download | dreambuilder_modpack-eba6f42678dbdb4837a30908b0627bee6f35440a.tar dreambuilder_modpack-eba6f42678dbdb4837a30908b0627bee6f35440a.tar.gz dreambuilder_modpack-eba6f42678dbdb4837a30908b0627bee6f35440a.tar.bz2 dreambuilder_modpack-eba6f42678dbdb4837a30908b0627bee6f35440a.tar.xz dreambuilder_modpack-eba6f42678dbdb4837a30908b0627bee6f35440a.zip |
update moreblocks, technic, roads, worldedit
Diffstat (limited to 'trafficlight')
-rw-r--r-- | trafficlight/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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") |