mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-26 10:20:19 +01:00
Silly mistake, interrupts should work better now.
This commit is contained in:
parent
682cf34792
commit
24160d45ff
@ -151,7 +151,7 @@ local getinterrupt = function(pos)
|
|||||||
local interrupts = minetest.deserialize(meta:get_string("lc_interrupts")) or {}
|
local interrupts = minetest.deserialize(meta:get_string("lc_interrupts")) or {}
|
||||||
local found = false
|
local found = false
|
||||||
for _, i in ipairs(interrupts) do
|
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
|
found = true
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user