Silly mistake, interrupts should work better now.

This commit is contained in:
Anthony Zhang 2013-05-21 17:57:25 -04:00
parent 682cf34792
commit 24160d45ff

View File

@ -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