summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2013-05-21 17:57:25 -0400
committerAnthony Zhang <azhang9@gmail.com>2013-05-21 17:57:25 -0400
commit24160d45ff969016eff32ec4b93a8f1a98fbc4be (patch)
tree083eede9b82bc2beef806f7479eabf72546a1fb9
parent682cf3479209cb9a62724e957b65a0e450a6dfeb (diff)
downloadmesecons-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.lua2
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