diff options
author | Anthony Zhang <azhang9@gmail.com> | 2013-05-21 17:57:25 -0400 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2013-05-21 17:57:25 -0400 |
commit | 24160d45ff969016eff32ec4b93a8f1a98fbc4be (patch) | |
tree | 083eede9b82bc2beef806f7479eabf72546a1fb9 | |
parent | 682cf3479209cb9a62724e957b65a0e450a6dfeb (diff) | |
download | mesecons-24160d45ff969016eff32ec4b93a8f1a98fbc4be.tar mesecons-24160d45ff969016eff32ec4b93a8f1a98fbc4be.tar.gz mesecons-24160d45ff969016eff32ec4b93a8f1a98fbc4be.tar.bz2 mesecons-24160d45ff969016eff32ec4b93a8f1a98fbc4be.tar.xz mesecons-24160d45ff969016eff32ec4b93a8f1a98fbc4be.zip |
Silly mistake, interrupts should work better now.
-rw-r--r-- | mesecons_luacontroller/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_luacontroller/init.lua b/mesecons_luacontroller/init.lua index 76abcca..02bde9f 100644 --- a/mesecons_luacontroller/init.lua +++ b/mesecons_luacontroller/init.lua @@ -151,7 +151,7 @@ local getinterrupt = function(pos) local interrupts = minetest.deserialize(meta:get_string("lc_interrupts")) or {} local found = false for _, i in ipairs(interrupts) do - if minetest.serialize(i) == minetest.serialize(event.iid) then + if minetest.serialize(i) == minetest.serialize(iid) then found = true break end |